From 1db535a88766136c1e2dae7255c3904003761063 Mon Sep 17 00:00:00 2001 From: Wayne Warren Date: Wed, 21 Nov 2018 09:15:32 -0600 Subject: [PATCH] Remove unnecessary documentation --- CONTRIBUTING.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7ee74448a09..bff456203db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -168,18 +168,6 @@ Manually testing against an example file is useful if you have added some local modifications, run `env CLIPPY_TESTS=true cargo run --bin clippy-driver -- -L ./target/debug input.rs` from the working copy root. -### Linting Clippy with your local changes - -Clippy CI only passes if all lints defined in the version of the Clippy being -tested pass (that is, don’t report any suggestions). You can avoid prolonging -the CI feedback cycle for PRs you submit by running these lints yourself ahead -of time and addressing any issues found: - -``` -cargo build -`pwd`/target/debug/cargo-clippy clippy --all-targets --all-features -- -D clippy::all -D clippy::internal -D clippy::pedantic -``` - ### How Clippy works Clippy is a [rustc compiler plugin][compiler_plugin]. The main entry point is at [`src/lib.rs`][main_entry]. In there, the lint registration is delegated to the [`clippy_lints`][lint_crate] crate.