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:
commit
ae38a6753d
@ -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`
|
||||
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user