about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-04 17:59:19 +0000
committerbors <bors@rust-lang.org>2019-09-04 17:59:19 +0000
commitabbb7ee12f9eca4ea21d484c052d7f1cbc73b7c2 (patch)
tree01dff22c346f508abf4ee773ebc636cad682c6c8
parente3ae76aeacf2b4a2a7c3f54ad1e198bda44af030 (diff)
parent47d89ae27fe4da49e3ac16cf33007b84edba9a2c (diff)
downloadrust-abbb7ee12f9eca4ea21d484c052d7f1cbc73b7c2.tar.gz
rust-abbb7ee12f9eca4ea21d484c052d7f1cbc73b7c2.zip
Auto merge of #4501 - derivmug:update-lint-doc, r=phansch
Remove ui/ from TESTNAME for foo lint example

changelog: Remove ui/ from TESTNAME in doc/adding-lints.md

This PR remove the `ui/` from the TESTNAME of the example foo lint in the 'Adding lints' documentation.
-rw-r--r--doc/adding_lints.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/adding_lints.md b/doc/adding_lints.md
index 1fb26c66d9f..1f443000d6b 100644
--- a/doc/adding_lints.md
+++ b/doc/adding_lints.md
@@ -77,7 +77,7 @@ fn main() {
 
 ```
 
-Now we can run the test with `TESTNAME=ui/foo_functions cargo uitest`.
+Now we can run the test with `TESTNAME=foo_functions cargo uitest`.
 Currently this test will fail. If you go through the output you will see that we
 are told that `clippy::foo_functions` is an unknown lint, which is expected.