From eb19d2d65457ca448ca6ec206637a34d7986da10 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Sat, 8 Dec 2018 13:48:59 +0100 Subject: [PATCH] Update CONTRIBUTING.md (Clippy is on stable now) --- CONTRIBUTING.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 46888587..8349f86a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,7 +62,7 @@ The quick guide is 1. Install it ``` - rustup component add rustfmt-preview + rustup component add rustfmt ``` 1. You can now run `rustfmt` on a single file simply by... ``` @@ -87,14 +87,11 @@ The best documentation can be found over at [rust-clippy](https://github.com/rus 1. To install ``` - rustup update - rustup install nightly - rustup component add clippy-preview --toolchain=nightly + rustup component add clippy ``` 2. Running clippy - As you may notice from the previous step, Clippy is on the nightly branch, so running it is like ``` - cargo +nightly clippy + cargo clippy ``` Clippy has an ever growing list of checks, that are managed in [lint files](https://rust-lang-nursery.github.io/rust-clippy/master/index.html).