Skip to content

Commit c66eaee

Browse files
committed
Nightly only
1 parent 1245de1 commit c66eaee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ One way to use clippy is by installing clippy through cargo as a cargo
3232
subcommand.
3333

3434
```terminal
35-
cargo install clippy
35+
cargo +nightly install clippy
3636
```
3737

38-
Now you can run clippy by invoking `cargo clippy`, or
39-
`cargo +nightly clippy` directly from a directory that is usually
40-
compiled with stable.
38+
(The `+nightly` is not necessary if your default `rustup` install is nightly)
39+
40+
Now you can run clippy by invoking `cargo +nightly clippy`.
4141

4242
In case you are not using rustup, you need to set the environment flag
4343
`SYSROOT` during installation so clippy knows where to find `librustc` and

0 commit comments

Comments
 (0)