diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2019-08-07 16:24:14 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2019-08-07 16:27:08 +0200 |
| commit | 8dde4e5806869a0113042e9d1fb12a45ff55db7f (patch) | |
| tree | 075f3e7dce4dddce200e16ff72d713bb7f466890 | |
| parent | e76ef1db032a363ea2ec7ae4128ad390a9cb373b (diff) | |
| download | rust-8dde4e5806869a0113042e9d1fb12a45ff55db7f.tar.gz rust-8dde4e5806869a0113042e9d1fb12a45ff55db7f.zip | |
README: mention that cargo fix has experimental support for applying some clippy lint suggestions via "cargo fix -Z unstable-options --clippy"
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md index 705966efafd..a4a194e5add 100644 --- a/README.md +++ b/README.md @@ -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 |
