Skip to content

Commit 2a6b061

Browse files
committed
run cargo dev update_lints
fix sentence / address review comments
1 parent 913c710 commit 2a6b061

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17161716
LintId::of(&unused_unit::UNUSED_UNIT),
17171717
LintId::of(&unwrap::PANICKING_UNWRAP),
17181718
LintId::of(&unwrap::UNNECESSARY_UNWRAP),
1719+
LintId::of(&upper_case_acronyms::UPPER_CASE_ACRONYMS),
17191720
LintId::of(&useless_conversion::USELESS_CONVERSION),
17201721
LintId::of(&vec::USELESS_VEC),
17211722
LintId::of(&vec_init_then_push::VEC_INIT_THEN_PUSH),

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ define_Conf! {
173173
(disallowed_methods, "disallowed_methods": Vec<String>, Vec::<String>::new()),
174174
/// Lint: UNREADABLE_LITERAL. Should the fraction of a decimal be linted to include separators.
175175
(unreadable_literal_lint_fractions, "unreadable_literal_lint_fractions": bool, true),
176-
/// Lint: UPPER_CASE_ACRONYMS. Enabler verbose mode triggers if there is more than one uppercase char next to each other
176+
/// Lint: UPPER_CASE_ACRONYMS. Enables verbose mode. Triggers if there is more than one uppercase char next to each other
177177
(upper_case_acronyms_aggressive, "upper_case_acronyms_aggressive": bool, false),
178178
/// Lint: _CARGO_COMMON_METADATA. For internal testing only, ignores the current `publish` settings in the Cargo manifest.
179179
(cargo_ignore_publish, "cargo_ignore_publish": bool, false),

0 commit comments

Comments
 (0)