Skip to content

Commit e882593

Browse files
committed
Fix grammar in doc comments in conf.rs
1 parent b5f31e2 commit e882593

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

book/src/lint_configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ A list of crate names to allow duplicates of
246246

247247
## `allowed-idents-below-min-chars`
248248
Allowed names below the minimum allowed characters. The value `".."` can be used as part of
249-
the list to indicate, that the configured values should be appended to the default
249+
the list to indicate that the configured values should be appended to the default
250250
configuration of Clippy. By default, any configuration will replace the default value.
251251

252252
**Default Value:** `["i", "j", "x", "y", "z", "w", "n"]`
@@ -570,7 +570,7 @@ The list of disallowed types, written as fully qualified paths.
570570

571571
## `doc-valid-idents`
572572
The list of words this lint should not consider as identifiers needing ticks. The value
573-
`".."` can be used as part of the list to indicate, that the configured values should be appended to the
573+
`".."` can be used as part of the list to indicate that the configured values should be appended to the
574574
default configuration of Clippy. By default, any configuration will replace the default value. For example:
575575
* `doc-valid-idents = ["ClipPy"]` would replace the default list with `["ClipPy"]`.
576576
* `doc-valid-idents = ["ClipPy", ".."]` would append `ClipPy` to the default list.

clippy_config/src/conf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ define_Conf! {
423423
#[lints(multiple_crate_versions)]
424424
allowed_duplicate_crates: Vec<String> = Vec::new(),
425425
/// Allowed names below the minimum allowed characters. The value `".."` can be used as part of
426-
/// the list to indicate, that the configured values should be appended to the default
426+
/// the list to indicate that the configured values should be appended to the default
427427
/// configuration of Clippy. By default, any configuration will replace the default value.
428428
#[lints(min_ident_chars)]
429429
allowed_idents_below_min_chars: Vec<String> =
@@ -620,7 +620,7 @@ define_Conf! {
620620
#[lints(disallowed_types)]
621621
disallowed_types: Vec<DisallowedPath> = Vec::new(),
622622
/// The list of words this lint should not consider as identifiers needing ticks. The value
623-
/// `".."` can be used as part of the list to indicate, that the configured values should be appended to the
623+
/// `".."` can be used as part of the list to indicate that the configured values should be appended to the
624624
/// default configuration of Clippy. By default, any configuration will replace the default value. For example:
625625
/// * `doc-valid-idents = ["ClipPy"]` would replace the default list with `["ClipPy"]`.
626626
/// * `doc-valid-idents = ["ClipPy", ".."]` would append `ClipPy` to the default list.

0 commit comments

Comments
 (0)