diff options
| author | Lukas Eschbacher <eschbacher.lukas@gmail.com> | 2024-02-11 06:49:11 +0100 |
|---|---|---|
| committer | Lukas Eschbacher <eschbacher.lukas@gmail.com> | 2024-02-11 13:20:25 +0100 |
| commit | 2b89cd4bf6f47a6d7724c17dd270fa6a93db8ea7 (patch) | |
| tree | 9029d6ecfce66aafe64a805b1bf096cfaa36fe25 | |
| parent | 51c89a45d9a6a8e2dd4e711a2f341f4463efe569 (diff) | |
| download | rust-2b89cd4bf6f47a6d7724c17dd270fa6a93db8ea7.tar.gz rust-2b89cd4bf6f47a6d7724c17dd270fa6a93db8ea7.zip | |
fix broken URL in `Lint Configuration`
Signed-off-by: Lukas Eschbacher <eschbacher.lukas@gmail.com>
| -rw-r--r-- | book/src/lint_configuration.md | 2 | ||||
| -rw-r--r-- | clippy_config/src/conf.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md index f2357e2b5de..214a60d3bfd 100644 --- a/book/src/lint_configuration.md +++ b/book/src/lint_configuration.md @@ -278,7 +278,7 @@ The minimum number of struct fields for the lints about field names to trigger --- **Affected lints:** -* [`struct_variant_names`](https://rust-lang.github.io/rust-clippy/master/index.html#struct_variant_names) +* [`struct_field_names`](https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names) ## `enum-variant-size-threshold` diff --git a/clippy_config/src/conf.rs b/clippy_config/src/conf.rs index 9741b94d504..6a1d7cb852a 100644 --- a/clippy_config/src/conf.rs +++ b/clippy_config/src/conf.rs @@ -325,7 +325,7 @@ define_Conf! { /// /// The minimum number of enum variants for the lints about variant names to trigger (enum_variant_name_threshold: u64 = 3), - /// Lint: STRUCT_VARIANT_NAMES. + /// Lint: STRUCT_FIELD_NAMES. /// /// The minimum number of struct fields for the lints about field names to trigger (struct_field_name_threshold: u64 = 3), |
