Remove bool_to_int_with_if clippy config

This doesn't exist in Rust 1.63 (it was added in 1.65) and 1.67 moved
it to allow-by-default anyway.
pull/619/head
Wilfred Hughes 2024-01-05 08:39:08 +07:00
parent 7a459ca308
commit 35a182dd42
1 changed files with 0 additions and 3 deletions

@ -15,9 +15,6 @@
// Has false positives on else if chains that sometimes have the same // Has false positives on else if chains that sometimes have the same
// body for readability. // body for readability.
#![allow(clippy::if_same_then_else)] #![allow(clippy::if_same_then_else)]
// Purely stylistic, and ignores whether there are explanatory
// comments in the if/else.
#![allow(clippy::bool_to_int_with_if)]
// Good practice in general, but a necessary evil for Syntax. Its Hash // Good practice in general, but a necessary evil for Syntax. Its Hash
// implementation does not consider the mutable fields, so it is still // implementation does not consider the mutable fields, so it is still
// correct. // correct.