README: mention that cargo fix has experimental support for applying some clippy lint suggestions via "cargo fix -Z unstable-options --clippy"

This commit is contained in:
Matthias Krüger 2019-08-07 16:24:14 +02:00
parent e76ef1db03
commit 8dde4e5806

View file

@ -80,6 +80,15 @@ Now you can run Clippy by invoking the following command:
cargo clippy
```
#### Automatically applying clippy suggestions
Some Clippy lint suggestions can be automatically applied by `cargo fix`.
Note that this is still experimental and only supported on the nightly channel:
```terminal
cargo fix -Z unstable-options --clippy
```
### Running Clippy from the command line without installing it
To have cargo compile your crate with Clippy without Clippy installation