Nightly only

This commit is contained in:
Manish Goregaokar 2018-01-12 16:03:13 +05:30
parent 1245de1e46
commit c66eaee77c

View file

@ -32,12 +32,12 @@ One way to use clippy is by installing clippy through cargo as a cargo
subcommand.
```terminal
cargo install clippy
cargo +nightly install clippy
```
Now you can run clippy by invoking `cargo clippy`, or
`cargo +nightly clippy` directly from a directory that is usually
compiled with stable.
(The `+nightly` is not necessary if your default `rustup` install is nightly)
Now you can run clippy by invoking `cargo +nightly clippy`.
In case you are not using rustup, you need to set the environment flag
`SYSROOT` during installation so clippy knows where to find `librustc` and