|
1 | 1 | # Clippy |
2 | 2 |
|
3 | | -[](https://travis-ci.org/rust-lang/rust-clippy) |
| 3 | +[](https://travis-ci.com/rust-lang/rust-clippy) |
4 | 4 | [](https://ci.appveyor.com/project/rust-lang-libs/rust-clippy) |
5 | 5 | [](https://crates.io/crates/clippy) |
6 | 6 | [](#license) |
7 | 7 |
|
8 | 8 | A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code. |
9 | 9 |
|
10 | | -[There are 290 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html) |
| 10 | +[There are 291 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html) |
11 | 11 |
|
12 | 12 | We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you: |
13 | 13 |
|
@@ -68,10 +68,15 @@ Once you have rustup and the latest stable release (at least Rust 1.29) installe |
68 | 68 | ```terminal |
69 | 69 | rustup component add clippy |
70 | 70 | ``` |
| 71 | +If it says that it can't find the `clippy` component, please run `rustup self update`. |
71 | 72 |
|
72 | | -Now you can run Clippy by invoking `cargo clippy`. |
| 73 | +#### Step 3: Run Clippy |
73 | 74 |
|
74 | | -If it says that it can't find the `clippy` subcommand, please run `rustup self update` |
| 75 | +Now you can run Clippy by invoking the following command: |
| 76 | + |
| 77 | +```terminal |
| 78 | +cargo clippy |
| 79 | +``` |
75 | 80 |
|
76 | 81 | ### Running Clippy from the command line without installing it |
77 | 82 |
|
@@ -157,7 +162,7 @@ If you want to contribute to Clippy, you can find more information in [CONTRIBUT |
157 | 162 |
|
158 | 163 | ## License |
159 | 164 |
|
160 | | -Copyright 2014-2018 The Rust Project Developers |
| 165 | +Copyright 2014-2019 The Rust Project Developers |
161 | 166 |
|
162 | 167 | Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or |
163 | 168 | http://www.apache.org/licenses/LICENSE-2.0> or the MIT license |
|
0 commit comments