Skip to content

Commit a8157d2

Browse files
authored
Update Readme
Move instruction to the correct step for installing Clippy.
1 parent 09323d7 commit a8157d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Once you have rustup and the latest stable release (at least Rust 1.29) installe
6868
```terminal
6969
rustup component add clippy
7070
```
71+
If it says that it can't find the `clippy` component, please run `rustup self update`.
7172

7273
#### Step 3: Run Clippy
7374

@@ -77,8 +78,6 @@ Now you can run Clippy by invoking the following command:
7778
cargo clippy
7879
```
7980

80-
If it says that it can't find the `clippy` subcommand, please run `rustup self update`.
81-
8281
### Running Clippy from the command line without installing it
8382

8483
To have cargo compile your crate with Clippy without Clippy installation

0 commit comments

Comments
 (0)