diff options
| author | bors <bors@rust-lang.org> | 2023-10-01 16:20:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-01 16:20:24 +0000 |
| commit | ec15630c5d44bd2620da932db10f894ac8a0b0d7 (patch) | |
| tree | 763a84fe6d7561f46e6e240717ac8dd8a6c9d983 | |
| parent | cbe67bc2d635f0a4a600f9e27d7df802d3510c27 (diff) | |
| parent | 0f8b8625bd309721099002813b8db9290b2bb411 (diff) | |
| download | rust-ec15630c5d44bd2620da932db10f894ac8a0b0d7.tar.gz rust-ec15630c5d44bd2620da932db10f894ac8a0b0d7.zip | |
Auto merge of #11592 - schubart:fix_documentation_link, r=flip1995
Fix documentation link
The file pointed to by the old link
https://github.com/rust-lang/rust-clippy/blob/557f6848bd5b7183f55c1e1522a326e9e1df6030/clippy_lints/src/lib.rs#L110
did not talk about categories and levels.
The new link (hopefully) points here
https://doc.rust-lang.org/stable/clippy/
which has a nice table explaining the mappings.
changelog: none
| -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 f6f0c95c729..e001197842b 100644 --- a/book/src/development/adding_lints.md +++ b/book/src/development/adding_lints.md @@ -261,7 +261,7 @@ impl EarlyLintPass for FooFunctions {} [declare_clippy_lint]: https://github.com/rust-lang/rust-clippy/blob/557f6848bd5b7183f55c1e1522a326e9e1df6030/clippy_lints/src/lib.rs#L60 [example_lint_page]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints -[category_level_mapping]: https://github.com/rust-lang/rust-clippy/blob/557f6848bd5b7183f55c1e1522a326e9e1df6030/clippy_lints/src/lib.rs#L110 +[category_level_mapping]: ../index.html ## Lint registration |
