Auto merge of #12272 - Luk-ESC:master, r=xFrednet

Fix broken URL in `Lint Configuration`

Pretty sure it's meant to be `struct_field_names` and not `struct_variant_names`.

This change is gargantuan!!! review carefully

changelog: none
This commit is contained in:
bors 2024-02-11 13:17:29 +00:00
commit ae38a6753d
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:** **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` ## `enum-variant-size-threshold`

View File

@ -325,7 +325,7 @@ define_Conf! {
/// ///
/// The minimum number of enum variants for the lints about variant names to trigger /// The minimum number of enum variants for the lints about variant names to trigger
(enum_variant_name_threshold: u64 = 3), (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 /// The minimum number of struct fields for the lints about field names to trigger
(struct_field_name_threshold: u64 = 3), (struct_field_name_threshold: u64 = 3),