From a9a70e01491a57ca65b6be2259be1ac51311607a Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 1 Feb 2024 19:51:56 +0100 Subject: [PATCH] Clippy: Allow "manual_range_contains" This complains that `scale < 0 || scale > 15` should be `!(0..=15).contains(&scale)` and I'm sorry, but no. Just no. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 34909acb6..ac0966463 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,6 +81,7 @@ clippy.field_reassign_with_default = "allow" clippy.get_first = "allow" clippy.if_same_then_else = "allow" clippy.len_without_is_empty = "allow" +clippy.manual_range_contains = "allow" clippy.manual_is_ascii_check = "allow" clippy.mut_from_ref = "allow" clippy.needless_return = "allow"