about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-27 14:42:54 +0000
committerbors <bors@rust-lang.org>2022-11-27 14:42:54 +0000
commitc55cadcfd9616c37d60d3be11c4ddc8dd1c25a4c (patch)
tree7452042e146582aa19461c01e0025da0f565c0b0
parentef99041f6522b47d718047fc106dbe55cd493b05 (diff)
parent28976ce9c3e1358624c3fe1bd5fed80baa44bb6a (diff)
Auto merge of #9919 - Alexendoo:configuration-link, r=xFrednet
Link to a list of configurable lints in documentation

changelog: none
-rw-r--r--README.md4
-rw-r--r--book/src/configuration.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 1c199d57f51..81254ba8b8b 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 5419eb5c21d..430ff8b739a 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.