diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-12-04 19:42:37 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-12-04 19:42:37 +0100 |
| commit | 27d39357b7052d96e1b3903518841d14534c38cf (patch) | |
| tree | 0f5dcbc395f6205bf0c843dc13f90cc586a2cb99 | |
| parent | eb3fc45c87a008c1f362492da0a8e21dfce18e9f (diff) | |
| download | rust-27d39357b7052d96e1b3903518841d14534c38cf.tar.gz rust-27d39357b7052d96e1b3903518841d14534c38cf.zip | |
Update array::IntoIter::new deprecation version.
| -rw-r--r-- | library/core/src/array/iter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs index 01ccf12a71a..fe7b3576e2f 100644 --- a/library/core/src/array/iter.rs +++ b/library/core/src/array/iter.rs @@ -79,7 +79,7 @@ impl<T, const N: usize> IntoIterator for [T; N] { impl<T, const N: usize> IntoIter<T, N> { /// Creates a new iterator over the given `array`. #[stable(feature = "array_value_iter", since = "1.51.0")] - #[rustc_deprecated(since = "1.57.0", reason = "use `IntoIterator::into_iter` instead")] + #[rustc_deprecated(since = "1.59.0", reason = "use `IntoIterator::into_iter` instead")] pub fn new(array: [T; N]) -> Self { IntoIterator::into_iter(array) } |
