Skip to content

Commit

Permalink
Allow clippy::trivially_copy_pass_by_ref for rapidflux
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1745
  • Loading branch information
Volham22 committed Aug 1, 2024
1 parent ac93474 commit 35678bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions rapidflux/src/diagnostics/errors.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::trivially_copy_pass_by_ref)]

use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
Expand Down Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions rapidflux/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![deny(clippy::pedantic)]
#![allow(
clippy::trivially_copy_pass_by_ref,
clippy::type_complexity,
clippy::unsafe_derive_deserialize,
clippy::unused_self
Expand Down

0 comments on commit 35678bd

Please sign in to comment.