Skip to content

Commit d950279

Browse files
committed
Document generating lint config docs for adding configuration
1 parent dc5ce48 commit d950279

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

book/src/development/adding_lints.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,10 @@ for some users. Adding a configuration is done in the following steps:
699699
`clippy.toml` file with the configuration value and a rust file that
700700
should be linted by Clippy. The test can otherwise be written as usual.
701701

702+
5. Update [Lint Configuration](../lint_configuration.md)
703+
704+
Run `cargo collect-metadata` to generate documentation changes for the book.
705+
702706
[`clippy_lints::utils::conf`]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/conf.rs
703707
[`clippy_lints` lib file]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/lib.rs
704708
[`tests/ui`]: https://github.com/rust-lang/rust-clippy/blob/master/tests/ui

0 commit comments

Comments
 (0)