From 35a182dd42db455a446d39757fb58ac42e1e1fd2 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 5 Jan 2024 08:39:08 -0800 Subject: [PATCH] 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. --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index ba0e028be..97abff50c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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.