mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 14:52:37 +00:00
Merge pull request #845 from phansch/update_contributing
Update CONTRIBUTING.md (Clippy is on stable now)
This commit is contained in:
commit
9e96165d8f
1 changed files with 3 additions and 6 deletions
|
@ -62,7 +62,7 @@ The quick guide is
|
||||||
|
|
||||||
1. Install it
|
1. Install it
|
||||||
```
|
```
|
||||||
rustup component add rustfmt-preview
|
rustup component add rustfmt
|
||||||
```
|
```
|
||||||
1. You can now run `rustfmt` on a single file simply by...
|
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
|
1. To install
|
||||||
```
|
```
|
||||||
rustup update
|
rustup component add clippy
|
||||||
rustup install nightly
|
|
||||||
rustup component add clippy-preview --toolchain=nightly
|
|
||||||
```
|
```
|
||||||
2. Running 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).
|
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).
|
||||||
|
|
Loading…
Reference in a new issue