diff options
| author | Maria José Solano <majosolano99@gmail.com> | 2023-01-13 15:21:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-13 15:21:49 -0800 |
| commit | 93f602f1cf324e89ec1312583cb033eeb977fa73 (patch) | |
| tree | fe299bb9386688e2e5404c7ddeb593463e967c29 | |
| parent | 97fb130fb253504615fec61d8b5cd510818da5e1 (diff) | |
| download | rust-93f602f1cf324e89ec1312583cb033eeb977fa73.tar.gz rust-93f602f1cf324e89ec1312583cb033eeb977fa73.zip | |
Add missing arguments to cargo lint example
| -rw-r--r-- | book/src/development/adding_lints.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/development/adding_lints.md b/book/src/development/adding_lints.md index 8b4eee8c9d9..145b393b753 100644 --- a/book/src/development/adding_lints.md +++ b/book/src/development/adding_lints.md @@ -146,7 +146,7 @@ For cargo lints, the process of testing differs in that we are interested in the manifest. If our new lint is named e.g. `foo_categories`, after running `cargo dev -new_lint` we will find by default two new crates, each with its manifest file: +new_lint --name=foo_categories --type=cargo --category=cargo` we will find by default two new crates, each with its manifest file: * `tests/ui-cargo/foo_categories/fail/Cargo.toml`: this file should cause the new lint to raise an error. |
