mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
Auto merge of #3579 - matthiaskrgr:tool_lints, r=flip1995
update CARGO_CLIPPY_HELP string to suggest tool lints.
This commit is contained in:
commit
19af82c0ad
1 changed files with 2 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue