Skip to content

Commit a323230

Browse files
committed
Rip off the clippy feature.
1 parent 94de45c commit a323230

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

libbindgen/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ cexpr = "0.2"
3737
features = ["with-syntex"]
3838
version = "0.29"
3939

40-
[dependencies.clippy]
41-
optional = true
42-
version = "*"
43-
4440
[dependencies.env_logger]
4541
optional = true
4642
version = "0.3"

libbindgen/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
//!
66
//! See the [Builder](./struct.Builder.html) struct for usage.
77
8-
#![cfg_attr(feature = "clippy", feature(plugin))]
9-
#![cfg_attr(feature = "clippy", plugin(clippy))]
10-
118
#![deny(missing_docs)]
129
#![deny(warnings)]
1310

@@ -552,8 +549,6 @@ impl<'ctx> Bindings<'ctx> {
552549
}
553550

554551
/// Write these bindings as source text to the given `Write`able.
555-
// https://github.com/Manishearth/rust-clippy/issues/740
556-
#[cfg_attr(feature = "clippy", allow(needless_lifetimes))]
557552
pub fn write<'a>(&self, mut writer: Box<Write + 'a>) -> io::Result<()> {
558553
try!(writer.write("/* automatically generated by rust-bindgen */\n\n"
559554
.as_bytes()));

0 commit comments

Comments
 (0)