mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
Fix small nits on the help message
This commit is contained in:
parent
da943f5ec8
commit
ec893a198f
@ -122,16 +122,16 @@ Common options:
|
||||
|
||||
Other options are the same as `cargo rustc`.
|
||||
|
||||
To allow or deny a lint from the command line you can use `cargo clippy --` with
|
||||
one of:
|
||||
To allow or deny a lint from the command line you can use `cargo clippy --`
|
||||
with:
|
||||
|
||||
-W --warn OPT Set lint warnings
|
||||
-A --allow OPT Set lint allowed
|
||||
-D --deny OPT Set lint denied
|
||||
-F --forbid OPT Set lint forbidden
|
||||
|
||||
The feature `cargo-clippy` is automatically defined for convinence. You can use
|
||||
it to allow or deny lints, eg.:
|
||||
The feature `cargo-clippy` is automatically defined for convenience. You can use
|
||||
it to allow or deny lints from the code, eg.:
|
||||
|
||||
#[cfg_attr(feature = "cargo-clippy", allow(needless_lifetimes))]
|
||||
"#;
|
||||
|
Loading…
Reference in New Issue
Block a user