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:
parent
e76ef1db03
commit
8dde4e5806
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue