diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-12-25 17:11:57 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-12-25 17:11:57 +0100 |
| commit | 5f0617b92fef67dc24c48f19bc9ade4314ca9015 (patch) | |
| tree | d437b2279ca7bbfc2bbffdf3ece1e48734c9ca06 | |
| parent | fc24fce73f878e641094b1802df1e748c5fe233a (diff) | |
| download | rust-5f0617b92fef67dc24c48f19bc9ade4314ca9015.tar.gz rust-5f0617b92fef67dc24c48f19bc9ade4314ca9015.zip | |
update CARGO_CLIPPY_HELP string to suggest tool lints.
| -rw-r--r-- | src/main.rs | 5 |
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() { |
