Skip to content

Commit 4df0eba

Browse files
committed
refactor: update MSRV constant name to follow naming convention
1 parent 2da64a9 commit 4df0eba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/unnecessary_reserve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl UnnecessaryReserve {
4848

4949
impl<'tcx> LateLintPass<'tcx> for UnnecessaryReserve {
5050
fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) {
51-
if !self.msrv.meets(msrvs::CHECK_UNNECESSARY_RESERVE) {
51+
if !self.msrv.meets(msrvs::EXTEND_IMPLICIT_RESERVE) {
5252
return;
5353
}
5454

clippy_utils/src/msrvs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ macro_rules! msrv_aliases {
2121
msrv_aliases! {
2222
1,68,0 { PATH_MAIN_SEPARATOR_STR }
2323
1,65,0 { LET_ELSE }
24-
1,62,0 { BOOL_THEN_SOME, DEFAULT_ENUM_ATTRIBUTE, CHECK_UNNECESSARY_RESERVE }
24+
1,62,0 { BOOL_THEN_SOME, DEFAULT_ENUM_ATTRIBUTE, EXTEND_IMPLICIT_RESERVE }
2525
1,58,0 { FORMAT_ARGS_CAPTURE, PATTERN_TRAIT_CHAR_ARRAY }
2626
1,55,0 { SEEK_REWIND }
2727
1,53,0 { OR_PATTERNS, MANUAL_BITS, BTREE_MAP_RETAIN, BTREE_SET_RETAIN, ARRAY_INTO_ITERATOR }

0 commit comments

Comments
 (0)