mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
some readme clarifications
This commit is contained in:
parent
e22928c23c
commit
a43f8cf819
1 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,7 @@ rustup update
|
|||
|
||||
#### Step 2: Install nightly toolchain
|
||||
|
||||
As a general rule Clippy will only work with the *latest* Rust nightly for now.
|
||||
Rustup integration is still new, you will need a relatively new nightly (2018-07-15 or later).
|
||||
|
||||
To install Rust nightly with [rustup](https://rustup.rs/):
|
||||
|
||||
|
@ -72,7 +72,8 @@ Once you have rustup and the nightly toolchain installed, run the following comm
|
|||
rustup component add clippy-preview --toolchain=nightly
|
||||
```
|
||||
|
||||
Now you can run Clippy by invoking `cargo +nightly clippy`.
|
||||
Now you can run Clippy by invoking `cargo +nightly clippy`. If nightly is your
|
||||
default toolchain in rustup, `cargo clippy` will work fine.
|
||||
|
||||
### Running Clippy from the command line without installing it
|
||||
|
||||
|
|
Loading…
Reference in a new issue