From bb8a50f56856e31a33b5ff22188485f17d40893c Mon Sep 17 00:00:00 2001 From: Emilio Cobos Álvarez Date: Fri, 9 Dec 2016 14:04:27 -1000 Subject: Rip off the clippy feature. --- libbindgen/Cargo.toml | 4 ---- libbindgen/src/lib.rs | 5 ----- 2 files changed, 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) -> io::Result<()> { try!(writer.write("/* automatically generated by rust-bindgen */\n\n" .as_bytes())); -- cgit v1.2.3