Skip to content

Commit ae38a67

Browse files
committed
Auto merge of rust-lang#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
2 parents d29f2ee + 2b89cd4 commit ae38a67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/src/lint_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ The minimum number of struct fields for the lints about field names to trigger
278278

279279
---
280280
**Affected lints:**
281-
* [`struct_variant_names`](https://rust-lang.github.io/rust-clippy/master/index.html#struct_variant_names)
281+
* [`struct_field_names`](https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names)
282282

283283

284284
## `enum-variant-size-threshold`

clippy_config/src/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ define_Conf! {
325325
///
326326
/// The minimum number of enum variants for the lints about variant names to trigger
327327
(enum_variant_name_threshold: u64 = 3),
328-
/// Lint: STRUCT_VARIANT_NAMES.
328+
/// Lint: STRUCT_FIELD_NAMES.
329329
///
330330
/// The minimum number of struct fields for the lints about field names to trigger
331331
(struct_field_name_threshold: u64 = 3),

0 commit comments

Comments
 (0)