mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
Auto merge of #3655 - manaskarekar:patch-1, r=flip1995
Update Readme for (arguably) better readability Move final instruction to run clippy into a third step in the Readme so it's easier to spot at a quick glance.
This commit is contained in:
commit
ac10c56c71
1 changed files with 7 additions and 2 deletions
|
@ -68,10 +68,15 @@ 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`.
|
||||
|
||||
Now you can run Clippy by invoking `cargo clippy`.
|
||||
#### Step 3: Run Clippy
|
||||
|
||||
If it says that it can't find the `clippy` subcommand, please run `rustup self update`
|
||||
Now you can run Clippy by invoking the following command:
|
||||
|
||||
```terminal
|
||||
cargo clippy
|
||||
```
|
||||
|
||||
### Running Clippy from the command line without installing it
|
||||
|
||||
|
|
Loading…
Reference in a new issue