Skip to content

Commit 27d3935

Browse files
committed
Update array::IntoIter::new deprecation version.
1 parent eb3fc45 commit 27d3935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/array/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl<T, const N: usize> IntoIterator for [T; N] {
7979
impl<T, const N: usize> IntoIter<T, N> {
8080
/// Creates a new iterator over the given `array`.
8181
#[stable(feature = "array_value_iter", since = "1.51.0")]
82-
#[rustc_deprecated(since = "1.57.0", reason = "use `IntoIterator::into_iter` instead")]
82+
#[rustc_deprecated(since = "1.59.0", reason = "use `IntoIterator::into_iter` instead")]
8383
pub fn new(array: [T; N]) -> Self {
8484
IntoIterator::into_iter(array)
8585
}

0 commit comments

Comments
 (0)