Skip to content

Commit 3b9d5a4

Browse files
committed
repeat_n was stabilised in 1.82
1 parent 12242fb commit 3b9d5a4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clippy_config/src/msrvs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ macro_rules! msrv_aliases {
1717

1818
// names may refer to stabilized feature flags or library items
1919
msrv_aliases! {
20-
1,83,0 { CONST_EXTERN_FN, CONST_FLOAT_BITS_CONV, CONST_FLOAT_CLASSIFY, REPEAT_N }
21-
1,82,0 { IS_NONE_OR }
20+
1,83,0 { CONST_EXTERN_FN, CONST_FLOAT_BITS_CONV, CONST_FLOAT_CLASSIFY }
21+
1,82,0 { IS_NONE_OR, REPEAT_N }
2222
1,81,0 { LINT_REASONS_STABILIZATION }
2323
1,80,0 { BOX_INTO_ITER}
2424
1,77,0 { C_STR_LITERALS }

tests/ui/map_with_unused_argument_over_ranges.fixed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fn msrv_1_28() {
6767
std::iter::repeat_with(|| do_something()).take(10);
6868
}
6969

70-
#[clippy::msrv = "1.82"]
70+
#[clippy::msrv = "1.81"]
7171
fn msrv_1_82() {
7272
std::iter::repeat(3).take(10);
7373
}

tests/ui/map_with_unused_argument_over_ranges.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fn msrv_1_28() {
6767
(0..10).map(|_| do_something());
6868
}
6969

70-
#[clippy::msrv = "1.82"]
70+
#[clippy::msrv = "1.81"]
7171
fn msrv_1_82() {
7272
(0..10).map(|_| 3);
7373
}

0 commit comments

Comments
 (0)