about summary refs log tree commit diff
path: root/doc/adding_lints.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/adding_lints.md')
-rw-r--r--doc/adding_lints.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/adding_lints.md b/doc/adding_lints.md
index 60dfdb76650..1a7a30c61be 100644
--- a/doc/adding_lints.md
+++ b/doc/adding_lints.md
@@ -147,10 +147,14 @@ add `// edition:2018` at the top of the test file (note that it's space-sensitiv
 
 Manually testing against an example file can be useful if you have added some
 `println!`s and the test suite output becomes unreadable. To try Clippy with
-your local modifications, run `env CLIPPY_TESTS=true cargo run --bin
-clippy-driver -- -L ./target/debug input.rs` from the working copy root.
+your local modifications, run
 
-With tests in place, let's have a look at implementing our lint now.
+```
+env __CLIPPY_INTERNAL_TESTS=true cargo run --bin clippy-driver -- -L ./target/debug input.rs
+```
+
+from the working copy root. With tests in place, let's have a look at
+implementing our lint now.
 
 ## Lint declaration