trivially copy pass by ref
This commit is contained in:
parent
b9b09b8e11
commit
611abbd7ae
|
@ -392,6 +392,7 @@
|
||||||
#![cfg_attr(bench, feature(test))] // lib stability features as per RFC #507
|
#![cfg_attr(bench, feature(test))] // lib stability features as per RFC #507
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
|
#![allow(trivially_copy_pass_by_ref)]
|
||||||
|
|
||||||
// The explicit 'static lifetimes are still needed for rustc 1.13-16
|
// The explicit 'static lifetimes are still needed for rustc 1.13-16
|
||||||
// backward compatibility, and this appeases clippy. If minimum rustc
|
// backward compatibility, and this appeases clippy. If minimum rustc
|
||||||
|
|
Loading…
Reference in New Issue