Suppress trivially_copy_pass_by_ref lint on fn is_zero
This commit is contained in:
parent
727a40fc5a
commit
c22dd4ada5
@ -1,4 +1,4 @@
|
||||
#![allow(clippy::cast_lossless)]
|
||||
#![allow(clippy::cast_lossless, clippy::trivially_copy_pass_by_ref)]
|
||||
|
||||
use serde::de::{self, MapAccess, Unexpected, Visitor};
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
#![deny(warnings)]
|
||||
#![cfg_attr(feature = "unstable", feature(non_ascii_idents))]
|
||||
#![allow(clippy::trivially_copy_pass_by_ref)]
|
||||
|
||||
use serde::de::DeserializeOwned;
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
Loading…
x
Reference in New Issue
Block a user