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 | |
parent | da50e5fae8551d0bfb79326f43b4be1f051319bc (diff) |
Rip off the clippy feature.
-rw-r--r-- | libbindgen/Cargo.toml | 4 | ||||
-rw-r--r-- | libbindgen/src/lib.rs | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/libbindgen/Cargo.toml b/libbindgen/Cargo.toml index dceb17f0..9f02e2ba 100644 --- a/libbindgen/Cargo.toml +++ b/libbindgen/Cargo.toml @@ -37,10 +37,6 @@ cexpr = "0.2" features = ["with-syntex"] version = "0.34" -[dependencies.clippy] -optional = true -version = "*" - [dependencies.env_logger] optional = true version = "0.3" 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())); |