about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-12-25 17:11:57 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2018-12-25 17:11:57 +0100
commit5f0617b92fef67dc24c48f19bc9ade4314ca9015 (patch)
treed437b2279ca7bbfc2bbffdf3ece1e48734c9ca06
parentfc24fce73f878e641094b1802df1e748c5fe233a (diff)
downloadrust-5f0617b92fef67dc24c48f19bc9ade4314ca9015.tar.gz
rust-5f0617b92fef67dc24c48f19bc9ade4314ca9015.zip
update CARGO_CLIPPY_HELP string to suggest tool lints.
-rw-r--r--src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 6c5cfe69166..369528f1954 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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() {