From 28976ce9c3e1358624c3fe1bd5fed80baa44bb6a Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Sun, 20 Nov 2022 13:27:55 +0000 Subject: [PATCH] Link to a list of configurable lints in documentation --- README.md | 4 ++-- book/src/configuration.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f74de7de42b..8c523152950 100644 --- a/README.md +++ b/README.md @@ -197,8 +197,8 @@ disallowed-names = ["toto", "tata", "titi"] cognitive-complexity-threshold = 30 ``` -See the [list of lints](https://rust-lang.github.io/rust-clippy/master/index.html) for more information about which -lints can be configured and the meaning of the variables. +See the [list of configurable lints](https://rust-lang.github.io/rust-clippy/master/index.html#Configuration), +the lint descriptions contain the names and meanings of these configuration variables. > **Note** > diff --git a/book/src/configuration.md b/book/src/configuration.md index 77f1d2e8797..59d9ccd2900 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -11,8 +11,8 @@ disallowed-names = ["toto", "tata", "titi"] cognitive-complexity-threshold = 30 ``` -See the [list of lints](https://rust-lang.github.io/rust-clippy/master/index.html) for more information about which -lints can be configured and the meaning of the variables. +See the [list of configurable lints](https://rust-lang.github.io/rust-clippy/master/index.html#Configuration), +the lint descriptions contain the names and meanings of these configuration variables. To deactivate the "for further information visit *lint-link*" message you can define the `CLIPPY_DISABLE_DOCS_LINKS` environment variable.