diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-09 14:04:27 -1000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-09 16:10:37 -1000 |
commit | bb8a50f56856e31a33b5ff22188485f17d40893c (patch) | |
tree | 649f2b42d1f38015bf1db946ac2439f2a7941687 /libbindgen/src | |
parent | da50e5fae8551d0bfb79326f43b4be1f051319bc (diff) |
Rip off the clippy feature.
Diffstat (limited to 'libbindgen/src')
-rw-r--r-- | libbindgen/src/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libbindgen/src/lib.rs b/libbindgen/src/lib.rs index 6ed5cd4b..7db26eab 100644 --- a/libbindgen/src/lib.rs +++ b/libbindgen/src/lib.rs @@ -5,9 +5,6 @@ //! //! See the [Builder](./struct.Builder.html) struct for usage. -#![cfg_attr(feature = "clippy", feature(plugin))] -#![cfg_attr(feature = "clippy", plugin(clippy))] - #![deny(missing_docs)] #![deny(warnings)] @@ -552,8 +549,6 @@ impl<'ctx> Bindings<'ctx> { } /// Write these bindings as source text to the given `Write`able. - // https://github.com/Manishearth/rust-clippy/issues/740 - #[cfg_attr(feature = "clippy", allow(needless_lifetimes))] pub fn write<'a>(&self, mut writer: Box<Write + 'a>) -> io::Result<()> { try!(writer.write("/* automatically generated by rust-bindgen */\n\n" .as_bytes())); |