summaryrefslogtreecommitdiff
path: root/libbindgen/src
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/src')
-rw-r--r--libbindgen/src/lib.rs5
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()));