mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user