diff options
| author | Philipp Hansch <dev@phansch.net> | 2019-03-03 09:48:42 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2019-03-03 15:03:25 +0100 |
| commit | 0da3521eb6161cc855da65e6f0c7308147b22ba7 (patch) | |
| tree | 489bacba352950ab18c6f2b1f6fe66e6ce6494a0 | |
| parent | b03011480c4b04b043ce3a6b67e1459739a08651 (diff) | |
| download | rust-0da3521eb6161cc855da65e6f0c7308147b22ba7.tar.gz rust-0da3521eb6161cc855da65e6f0c7308147b22ba7.zip | |
Reword 'Setup' a bit
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | doc/adding_lints.md | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md index 98365d228d0..3a56bce4f13 100644 --- a/README.md +++ b/README.md @@ -107,13 +107,13 @@ script: - cargo clippy # if you want the build job to fail when encountering warnings, use - cargo clippy -- -D warnings - # in order to also check tests and none-default crate features, use + # in order to also check tests and non-default crate features, use - cargo clippy --all-targets --all-features -- -D warnings - cargo test # etc. ``` -It might happen that Clippy is not available for a certain nightly release. +If you are on nightly, It might happen that Clippy is not available for a certain nightly release. In this case you can try to conditionally install Clippy from the git repo. ```yaml diff --git a/doc/adding_lints.md b/doc/adding_lints.md index d8edf79714c..12276b1a410 100644 --- a/doc/adding_lints.md +++ b/doc/adding_lints.md @@ -23,9 +23,10 @@ because that's clearly a non-descriptive name. ### Setup -Clippy depends on the current git master version of rustc, which can change rapidly. Make sure you're -working near rust-clippy's master, and use the `setup-toolchain.sh` script to configure the appropriate -toolchain for this directory. +When working on Clippy, you will need the current git master version of rustc, +which can change rapidly. Make sure you're working near rust-clippy's master, +and use the `setup-toolchain.sh` script to configure the appropriate toolchain +for the Clippy directory. ### Testing |
