Update Readme

Move instruction to the correct step for installing Clippy.
This commit is contained in:
Manas Karekar 2019-01-12 20:24:52 -05:00 committed by GitHub
parent 09323d7426
commit a8157d2de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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