From 27d39357b7052d96e1b3903518841d14534c38cf Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Sat, 4 Dec 2021 19:42:37 +0100 Subject: [PATCH] Update array::IntoIter::new deprecation version. --- library/core/src/array/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs index 01ccf12a71a35..fe7b3576e2f5f 100644 --- a/library/core/src/array/iter.rs +++ b/library/core/src/array/iter.rs @@ -79,7 +79,7 @@ impl IntoIterator for [T; N] { impl IntoIter { /// 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) }