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
2 changed files with 2 additions and 1 deletions
+1
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};