We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d5b8a commit f1d9090Copy full SHA for f1d9090
book/src/development/defining_lints.md
@@ -139,10 +139,10 @@ Untracked files:
139
```
140
141
142
-## The `define_clippy_lints` macro
+## The `declare_clippy_lint` macro
143
144
After `cargo dev new_lint`, you should see a macro with the name
145
-`define_clippy_lints`. It will be in the same file if you defined a standalone
+`declare_clippy_lint`. It will be in the same file if you defined a standalone
146
lint, and it will be in `mod.rs` if you defined a type-specific lint.
147
148
The macro looks something like this:
0 commit comments