Skip to content

Commit 25d455b

Browse files
committed
fix: add missing dot to suppress_restriction_lint_in_const
1 parent e791522 commit 25d455b

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
@@ -526,7 +526,7 @@ Whether to allow mixed uninlined format args, e.g. `format!("{} {}", a, foo.bar)
526526

527527

528528
### suppress-restriction-lint-in-const
529-
In same
529+
Whether to suppress a restriction lint in constant code. In same
530530
cases the restructured operation might not be unavoidable, as the
531531
suggested counterparts are unavailable in constant code. This
532532
configuration will cause restriction lints to trigger even

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ define_Conf! {
446446
///
447447
/// Whether to allow mixed uninlined format args, e.g. `format!("{} {}", a, foo.bar)`
448448
(allow_mixed_uninlined_format_args: bool = true),
449-
/// Lint: INDEXING_SLICING
449+
/// Lint: INDEXING_SLICING.
450450
///
451451
/// Whether to suppress a restriction lint in constant code. In same
452452
/// cases the restructured operation might not be unavoidable, as the

0 commit comments

Comments
 (0)