Skip to content

Commit

Permalink
Change command to run clippy without installation
Browse files Browse the repository at this point in the history
  • Loading branch information
guido4000 committed Feb 8, 2018
1 parent 45e4f3a commit b52f46d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -85,13 +85,13 @@ and add to `main.rs` or `lib.rs`:
#![cfg_attr(test, plugin(clippy))]
```

### Running clippy from the command line without installing
### Running clippy from the command line without installing it

To have cargo compile your crate with clippy without needing `#![plugin(clippy)]`
To have cargo compile your crate with clippy without clippy installation and without needing `#![plugin(clippy)]`
in your code, you can use:

```terminal
cargo-clippy
cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
```

*[Note](https://github.com/rust-lang-nursery/rust-clippy/wiki#a-word-of-warning):*
Expand Down

0 comments on commit b52f46d

Please sign in to comment.