mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user