From 65ec500d75a669a17058de5ccfd0a67e6d6bdeb9 Mon Sep 17 00:00:00 2001 From: Lambda Date: Sun, 2 Feb 2025 11:31:10 +0000 Subject: [PATCH] Enable useful new clippy lints Picked from this filtered list: https://rust-lang.github.io/rust-clippy/master/index.html?versions=gte%3A82%2Clte%3A84&levels=allow&groups=cargo%2Ccomplexity%2Ccorrectness%2Cnursery%2Cperf%2Crestriction%2Cstyle%2Csuspicious --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 605f1be4..c9754bb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,6 +41,7 @@ mod_module_files = "warn" multiple_inherent_impl = "warn" mutex_atomic = "warn" negative_feature_names = "warn" +non_zero_suggestions = "warn" pub_without_shorthand = "warn" rc_buffer = "warn" rc_mutex = "warn" @@ -64,6 +65,7 @@ unnecessary_safety_doc = "warn" unnecessary_self_imports = "warn" unneeded_field_pattern = "warn" unseparated_literal_suffix = "warn" +unused_result_ok = "warn" verbose_file_reads = "warn" wildcard_dependencies = "warn"