File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ rustup update
66
66
Once you have rustup and the latest stable release (at least Rust 1.29) installed, run the following command:
67
67
68
68
``` terminal
69
- rustup component add clippy-preview
69
+ rustup component add clippy
70
70
```
71
71
72
72
Now you can run Clippy by invoking ` cargo clippy ` .
95
95
- stable
96
96
- beta
97
97
before_script :
98
- - rustup component add clippy-preview
98
+ - rustup component add clippy
99
99
script :
100
100
- cargo clippy
101
101
# if you want the build job to fail when encountering warnings, use
@@ -114,7 +114,7 @@ language: rust
114
114
rust :
115
115
- nightly
116
116
before_script :
117
- - rustup component add clippy-preview --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
117
+ - rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
118
118
# etc
119
119
```
120
120
You can’t perform that action at this time.
0 commit comments