Skip to content

Commit 77092a5

Browse files
committed
Auto merge of #4685 - HMPerson1:patch-1, r=Manishearth
Update adding_lints.md changelog: none
2 parents feb7e62 + 3328cb2 commit 77092a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/adding_lints.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ test file and compare that to the contents of a `.fixed` file.
104104
Use `tests/ui/update-all-references.sh` to automatically generate the
105105
`.fixed` file after running the tests.
106106

107-
With tests in place, let's have a look at implementing our lint now.
108-
109107
### Edition 2018 tests
110108

111109
Some features require the 2018 edition to work (e.g. `async_await`), but
@@ -119,6 +117,8 @@ Manually testing against an example file can be useful if you have added some
119117
your local modifications, run `env CLIPPY_TESTS=true cargo run --bin
120118
clippy-driver -- -L ./target/debug input.rs` from the working copy root.
121119

120+
With tests in place, let's have a look at implementing our lint now.
121+
122122
### Lint declaration
123123

124124
We start by creating a new file in the `clippy_lints` crate. That's the crate

0 commit comments

Comments
 (0)