Skip to content

Commit dfe69f7

Browse files
committed
boxed_slice_into_iter: tiny doc correction
1 parent 55cac26 commit dfe69f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/shadowed_into_iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare_lint! {
5252
/// Since Rust 1.80.0, boxed slices implement `IntoIterator`. However, to avoid
5353
/// breakage, `boxed_slice.into_iter()` in Rust 2015, 2018, and 2021 code will still
5454
/// behave as `(&boxed_slice).into_iter()`, returning an iterator over
55-
/// references, just like in Rust 1.80.0 and earlier.
55+
/// references, just like in Rust 1.79.0 and earlier.
5656
/// This only applies to the method call syntax `boxed_slice.into_iter()`, not to
5757
/// any other syntax such as `for _ in boxed_slice` or `IntoIterator::into_iter(boxed_slice)`.
5858
pub BOXED_SLICE_INTO_ITER,

0 commit comments

Comments
 (0)