Skip to content

Commit

Permalink
Update selene-lib/src/lints/mixed_table.rs
Browse files Browse the repository at this point in the history
Co-authored-by: boyned//Kampfkarren <[email protected]>
  • Loading branch information
Midnightific and Kampfkarren authored Feb 6, 2024
1 parent 55e6eeb commit 9313cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selene-lib/src/lints/mixed_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 9313cfc

Please sign in to comment.