diff --git a/rapidflux/src/diagnostics/errors.rs b/rapidflux/src/diagnostics/errors.rs index d0c8bbb33..d936a4298 100644 --- a/rapidflux/src/diagnostics/errors.rs +++ b/rapidflux/src/diagnostics/errors.rs @@ -1,5 +1,3 @@ -#![allow(clippy::trivially_copy_pass_by_ref)] - use std::{ collections::hash_map::DefaultHasher, hash::{Hash, Hasher}, @@ -57,7 +55,6 @@ impl Severity { }) } - #[allow(clippy::trivially_copy_pass_by_ref)] pub fn __getnewargs__(&self) -> (String,) { // Removing ANSI escapes is needed here otherwise Python will not be able to rebuild the // object while calling `pickle.load` diff --git a/rapidflux/src/lib.rs b/rapidflux/src/lib.rs index 1232743c2..c7a7c5a85 100644 --- a/rapidflux/src/lib.rs +++ b/rapidflux/src/lib.rs @@ -1,5 +1,6 @@ #![deny(clippy::pedantic)] #![allow( + clippy::trivially_copy_pass_by_ref, clippy::type_complexity, clippy::unsafe_derive_deserialize, clippy::unused_self