File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -107,13 +107,13 @@ script:
107
107
- cargo clippy
108
108
# if you want the build job to fail when encountering warnings, use
109
109
- cargo clippy -- -D warnings
110
- # in order to also check tests and none -default crate features, use
110
+ # in order to also check tests and non -default crate features, use
111
111
- cargo clippy --all-targets --all-features -- -D warnings
112
112
- cargo test
113
113
# etc.
114
114
```
115
115
116
- It might happen that Clippy is not available for a certain nightly release.
116
+ If you are on nightly, It might happen that Clippy is not available for a certain nightly release.
117
117
In this case you can try to conditionally install Clippy from the git repo.
118
118
119
119
``` yaml
Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ because that's clearly a non-descriptive name.
23
23
24
24
### Setup
25
25
26
- Clippy depends on the current git master version of rustc, which can change rapidly. Make sure you're
27
- working near rust-clippy's master, and use the ` setup-toolchain.sh ` script to configure the appropriate
28
- toolchain for this directory.
26
+ When working on Clippy, you will need the current git master version of rustc,
27
+ which can change rapidly. Make sure you're working near rust-clippy's master,
28
+ and use the ` setup-toolchain.sh ` script to configure the appropriate toolchain
29
+ for the Clippy directory.
29
30
30
31
### Testing
31
32
You can’t perform that action at this time.
0 commit comments