We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46d8f62 + b71b1a0 commit 3cd177dCopy full SHA for 3cd177d
README.md
@@ -286,6 +286,8 @@ And, in your `main.rs` or `lib.rs`:
286
#![cfg_attr(feature="clippy", plugin(clippy))]
287
```
288
289
+Then build by enabling the feature: `cargo build --features "clippy"`
290
+
291
Instead of adding the `cfg_attr` attributes you can also run clippy on demand:
292
`cargo rustc --features clippy -- -Z no-trans -Z extra-plugins=clippy`
293
(the `-Z no trans`, while not neccessary, will stop the compilation process after
0 commit comments