Suppress trivially_copy_pass_by_ref lint on fn is_zero

This commit is contained in:
David Tolnay 2018-12-31 22:04:00 -05:00
parent 727a40fc5a
commit c22dd4ada5
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 2 additions and 1 deletions

View File

@ -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};

View File

@ -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};