update CARGO_CLIPPY_HELP string to suggest tool lints.

This commit is contained in:
Matthias Krüger 2018-12-25 17:11:57 +01:00
parent fc24fce73f
commit 5f0617b92f

View file

@ -33,10 +33,9 @@ with:
-D --deny OPT Set lint denied
-F --forbid OPT Set lint forbidden
The feature `cargo-clippy` is automatically defined for convenience. You can use
it to allow or deny lints from the code, eg.:
You can use tool lints to allow or deny lints from your code, eg.:
#[cfg_attr(feature = "cargo-clippy", allow(needless_lifetimes))]
#[allow(clippy::needless_lifetimes)]
"#;
fn show_help() {