Skip to content

Commit

Permalink
Remove bool_to_int_with_if clippy config
Browse files Browse the repository at this point in the history
This doesn't exist in Rust 1.63 (it was added in 1.65) and 1.67 moved
it to allow-by-default anyway.
  • Loading branch information
Wilfred committed Jan 5, 2024
1 parent 7a459ca commit 35a182d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
// Has false positives on else if chains that sometimes have the same
// body for readability.
#![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
// implementation does not consider the mutable fields, so it is still
// correct.
Expand Down

0 comments on commit 35a182d

Please sign in to comment.