about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-22 15:32:45 +0000
committerbors <bors@rust-lang.org>2020-12-22 15:32:45 +0000
commit1f9e4cbe0d297b0576e0aac55dd8a5a099b77340 (patch)
tree24cbc57a71c97c60342dbe892c15081e3e1ea43c
parent25e9acb2533b2d8b1f15bb80eba0b7e79a18d292 (diff)
parent04d30448374277e34ce77ed83cfcea4ba8b6ecb2 (diff)
downloadrust-1f9e4cbe0d297b0576e0aac55dd8a5a099b77340.tar.gz
rust-1f9e4cbe0d297b0576e0aac55dd8a5a099b77340.zip
Auto merge of #6494 - matthiaskrgr:readme_, r=flip1995
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

changelog: none
-rw-r--r--README.md11
1 files changed, 0 insertions, 11 deletions
diff --git a/README.md b/README.md
index 65e0864be90..74719f02fe0 100644
--- a/README.md
+++ b/README.md
@@ -98,17 +98,6 @@ If you want to run Clippy **only** on the given crate, use the `--no-deps` optio
 cargo clippy -p example -- --no-deps 
 ```
 
-### Running Clippy from the command line without installing it
-
-To have cargo compile your crate with Clippy without Clippy installation
-in your code, you can use:
-
-```terminal
-cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
-```
-
-*Note:* Be sure that Clippy was compiled with the same version of rustc that cargo invokes here!
-
 ### Travis CI
 
 You can add Clippy to Travis CI in the same way you use it locally: