mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
readme: update to cargo clippy --fix command
This commit is contained in:
parent
1765c5da90
commit
65bc234c5c
1 changed files with 2 additions and 2 deletions
|
@ -83,11 +83,11 @@ cargo clippy
|
|||
|
||||
#### Automatically applying Clippy suggestions
|
||||
|
||||
Some Clippy lint suggestions can be automatically applied by `cargo fix`.
|
||||
Clippy can automatically apply some lint suggestions.
|
||||
Note that this is still experimental and only supported on the nightly channel:
|
||||
|
||||
```terminal
|
||||
cargo fix -Z unstable-options --clippy
|
||||
cargo clippy --fix -Z unstable-options
|
||||
```
|
||||
|
||||
### Running Clippy from the command line without installing it
|
||||
|
|
Loading…
Reference in a new issue