Skip to content

Commit 19af82c

Browse files
committed
Auto merge of #3579 - matthiaskrgr:tool_lints, r=flip1995
update CARGO_CLIPPY_HELP string to suggest tool lints.
2 parents b0a1fac + 5f0617b commit 19af82c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ with:
3333
-D --deny OPT Set lint denied
3434
-F --forbid OPT Set lint forbidden
3535
36-
The feature `cargo-clippy` is automatically defined for convenience. You can use
37-
it to allow or deny lints from the code, eg.:
36+
You can use tool lints to allow or deny lints from your code, eg.:
3837
39-
#[cfg_attr(feature = "cargo-clippy", allow(needless_lifetimes))]
38+
#[allow(clippy::needless_lifetimes)]
4039
"#;
4140

4241
fn show_help() {

0 commit comments

Comments
 (0)