From 9313cfc6556ecd8bc2790a44903e12e441f00405 Mon Sep 17 00:00:00 2001 From: Griffin <rbxmidnightific@gmail.com> Date: Tue, 6 Feb 2024 14:50:02 +0800 Subject: [PATCH] Update selene-lib/src/lints/mixed_table.rs Co-authored-by: boyned//Kampfkarren <boynedmaster@gmail.com> --- selene-lib/src/lints/mixed_table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selene-lib/src/lints/mixed_table.rs b/selene-lib/src/lints/mixed_table.rs index 19876df9..249357a3 100644 --- a/selene-lib/src/lints/mixed_table.rs +++ b/selene-lib/src/lints/mixed_table.rs @@ -30,7 +30,7 @@ impl Lint for MixedTableLint { for mixed_table in visitor.mixed_tables { diagnostics.push(Diagnostic::new_complete( "mixed_table", - "mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging".to_owned(), + "mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding".to_owned(), Label::new(mixed_table.range), vec!["help: change this table to either an array or dictionary".to_owned()], Vec::new(),