From 7b78c39cb604961564b1d4e0a491eafacc85e8cb Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 14 Nov 2025 09:51:12 -0500 Subject: Enable more clippy lints --- Cargo.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 71f1f6d..688065b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,29 +53,47 @@ default-features = false branches_sharing_code = "warn" collection_is_never_read = "warn" derive_partial_eq_without_eq = "warn" +missing_const_for_fn = "warn" +needless_collect = "warn" return_self_not_must_use = "warn" use_self = "warn" # pedantic cast_possible_wrap = "warn" cast_possible_truncation = "warn" +comparison_chain = "warn" +elidable_lifetime_names = "warn" +explicit_into_iter_loop = "warn" +explicit_iter_loop = "warn" inconsistent_struct_constructor = "warn" +large_types_passed_by_value = "warn" manual_assert = "warn" +manual_is_variant_and = "warn" +manual_let_else = "warn" map_unwrap_or = "warn" +match_bool = "warn" +needless_pass_by_ref_mut = "warn" needless_pass_by_value = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" semicolon_if_nothing_returned = "warn" single_match_else = "warn" +trivially_copy_pass_by_ref = "warn" uninlined_format_args = "warn" unused_self = "warn" +unnecessary_debug_formatting = "warn" +unnecessary_semicolon = "warn" unnested_or_patterns = "warn" used_underscore_binding = "warn" +used_underscore_items = "warn" +verbose_bit_mask = "warn" # restriction allow_attributes = "warn" +cfg_not_test = "deny" expect_used = "deny" shadow_reuse = "warn" +todo = "deny" unwrap_used = "deny" [profile.release] -- cgit v1.2.3-freya