fix broken URL in Lint Configuration

Signed-off-by: Lukas Eschbacher <eschbacher.lukas@gmail.com>
This commit is contained in:
Lukas Eschbacher 2024-02-11 06:49:11 +01:00
parent 51c89a45d9
commit 2b89cd4bf6
No known key found for this signature in database
GPG Key ID: 2A0E3B732BA82EF3
2 changed files with 2 additions and 2 deletions

View File

@ -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`

View File

@ -325,7 +325,7 @@ pub fn get_configuration_metadata() -> Vec<ClippyConfiguration> {
///
/// 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),