diff options
| author | Kalle Wachsmuth <kalle.wachsmuth@gmail.com> | 2024-06-16 20:57:48 +0200 |
|---|---|---|
| committer | Kalle Wachsmuth <kalle.wachsmuth@gmail.com> | 2024-06-16 20:57:48 +0200 |
| commit | dfe69f7259914326fbccbf278d2ad93be4baba70 (patch) | |
| tree | 383a33515a86c727230991dff853be9d219e4a5e | |
| parent | 55cac26a9ef17da1c9c77c0816e88e178b7cc5dd (diff) | |
| download | rust-dfe69f7259914326fbccbf278d2ad93be4baba70.tar.gz rust-dfe69f7259914326fbccbf278d2ad93be4baba70.zip | |
boxed_slice_into_iter: tiny doc correction
| -rw-r--r-- | compiler/rustc_lint/src/shadowed_into_iter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/shadowed_into_iter.rs b/compiler/rustc_lint/src/shadowed_into_iter.rs index 85006421fdd..da2b5878b19 100644 --- a/compiler/rustc_lint/src/shadowed_into_iter.rs +++ b/compiler/rustc_lint/src/shadowed_into_iter.rs @@ -52,7 +52,7 @@ declare_lint! { /// Since Rust 1.80.0, boxed slices implement `IntoIterator`. However, to avoid /// breakage, `boxed_slice.into_iter()` in Rust 2015, 2018, and 2021 code will still /// behave as `(&boxed_slice).into_iter()`, returning an iterator over - /// references, just like in Rust 1.80.0 and earlier. + /// references, just like in Rust 1.79.0 and earlier. /// This only applies to the method call syntax `boxed_slice.into_iter()`, not to /// any other syntax such as `for _ in boxed_slice` or `IntoIterator::into_iter(boxed_slice)`. pub BOXED_SLICE_INTO_ITER, |
