diff options
-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())); |