Skip to content

Commit 203038c

Browse files
Darren TsungDarren Tsung
Darren Tsung
authored and
Darren Tsung
committed
Add +nightly to command for running cargo build.
1 parent 1d523ce commit 203038c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ And, in your `main.rs` or `lib.rs`, add these lines:
4747
#![cfg_attr(feature="clippy", plugin(clippy))]
4848
```
4949

50-
Then build by enabling the feature: `cargo build --features "clippy"`
50+
Then build by enabling the feature: `cargo +nightly build --features "clippy"`.
5151

5252
Instead of adding the `cfg_attr` attributes you can also run clippy on demand:
5353
`cargo rustc --features clippy -- -Z no-trans -Z extra-plugins=clippy`

0 commit comments

Comments
 (0)