mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 12:43:18 +00:00
Update Readme
Move instruction to the correct step for installing Clippy.
This commit is contained in:
parent
09323d7426
commit
a8157d2de7
1 changed files with 1 additions and 2 deletions
|
@ -68,6 +68,7 @@ Once you have rustup and the latest stable release (at least Rust 1.29) installe
|
|||
```terminal
|
||||
rustup component add clippy
|
||||
```
|
||||
If it says that it can't find the `clippy` component, please run `rustup self update`.
|
||||
|
||||
#### Step 3: Run Clippy
|
||||
|
||||
|
@ -77,8 +78,6 @@ Now you can run Clippy by invoking the following command:
|
|||
cargo clippy
|
||||
```
|
||||
|
||||
If it says that it can't find the `clippy` subcommand, please run `rustup self update`.
|
||||
|
||||
### Running Clippy from the command line without installing it
|
||||
|
||||
To have cargo compile your crate with Clippy without Clippy installation
|
||||
|
|
Loading…
Reference in a new issue