readme: update to cargo clippy --fix command

This commit is contained in:
Matthias Krüger 2020-04-16 21:35:19 +02:00
parent 1765c5da90
commit 65bc234c5c

View file

@ -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