Skip to content

Commit 93f602f

Browse files
authored
Add missing arguments to cargo lint example
1 parent 97fb130 commit 93f602f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/development/adding_lints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ For cargo lints, the process of testing differs in that we are interested in the
146146
manifest.
147147

148148
If our new lint is named e.g. `foo_categories`, after running `cargo dev
149-
new_lint` we will find by default two new crates, each with its manifest file:
149+
new_lint --name=foo_categories --type=cargo --category=cargo` we will find by default two new crates, each with its manifest file:
150150

151151
* `tests/ui-cargo/foo_categories/fail/Cargo.toml`: this file should cause the
152152
new lint to raise an error.

0 commit comments

Comments
 (0)