Skip to content

Commit 04d3044

Browse files
committed
readme: remove paragraph about executing clippy via "cargo run .."
This most likely no longer works since we are pinning clippy on a specific nightly now. "cargo run" would try to compile clippy with whatever version the project we want to check demands. Also building clippy yourself to run it on a project is not really needed anymore since clippy is shipped with official rust releases. Fixes #6489
1 parent 51947df commit 04d3044

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,6 @@ If you want to run Clippy **only** on the given crate, use the `--no-deps` optio
9898
cargo clippy -p example -- --no-deps
9999
```
100100

101-
### Running Clippy from the command line without installing it
102-
103-
To have cargo compile your crate with Clippy without Clippy installation
104-
in your code, you can use:
105-
106-
```terminal
107-
cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
108-
```
109-
110-
*Note:* Be sure that Clippy was compiled with the same version of rustc that cargo invokes here!
111-
112101
### Travis CI
113102

114103
You can add Clippy to Travis CI in the same way you use it locally:

0 commit comments

Comments
 (0)