Add “, add these lines” as well as removing the extra space between the attributes to make it more clear that both should be included.

This commit is contained in:
Darren Tsung 2017-12-21 15:21:28 -08:00
parent 2179f4d790
commit 1d523ce8f7

View File

@ -40,11 +40,10 @@ clippy = {version = "*", optional = true}
default = []
```
And, in your `main.rs` or `lib.rs`:
And, in your `main.rs` or `lib.rs`, add these lines:
```rust
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(clippy))]
```