Auto merge of #3579 - matthiaskrgr:tool_lints, r=flip1995

update CARGO_CLIPPY_HELP string to suggest tool lints.
This commit is contained in:
bors 2018-12-26 17:35:55 +00:00
commit 19af82c0ad

View file

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