Ignore clippy false positive

This commit is contained in:
David Tolnay 2017-04-07 09:21:30 -07:00
parent e57ce37ac1
commit 995f2b3f76
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -4,6 +4,10 @@
#![cfg_attr(feature = "unstable", feature(non_ascii_idents))]
// Clippy false positive
// https://github.com/Manishearth/rust-clippy/issues/292
#![cfg_attr(feature = "cargo-clippy", allow(needless_lifetimes))]
#[macro_use]
extern crate serde_derive;