From 8d242b45ad7022bc468379440183c88353ccfccd Mon Sep 17 00:00:00 2001 From: Robbert van der Helm <mail@robbertvanderhelm.nl> Date: Fri, 6 Jan 2023 16:09:33 +0100 Subject: [PATCH] Remove old overeager clippy lint silence This is no longer enabled by default. --- src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ed1d0cb2..dd247c65 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,9 +85,6 @@ // Around Rust 1.64 Clippy started throwing this for all instances of `dyn Fn(...) -> ... + Send + // Sync`. Creating type aliases for all of these callbacks probably won't make things easier to read. #![allow(clippy::type_complexity)] -// This lint was added in CLAP 1.65 because it thinks `i32::from(foo.bar() <= 4)` is more readable -// than `if foo.bar() > 4 { 0 } else { 1 }`. I disagree. -#![allow(clippy::bool_to_int_with_if)] // These macros are also in the crate root and in the prelude, but having the module itself be pub // as well makes it easy to import _just_ the macros without using `#[macro_use] extern crate nih_plug;`