Remove use of #[rustc_deprecated]

This commit is contained in:
Jacob Pratt
2022-04-07 21:20:32 -04:00
parent 8ff5e3cf99
commit 4fbe73e0b7
77 changed files with 274 additions and 356 deletions

View File

@@ -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.59.0", reason = "use `IntoIterator::into_iter` instead")]
#[deprecated(since = "1.59.0", note = "use `IntoIterator::into_iter` instead")]
pub fn new(array: [T; N]) -> Self {
IntoIterator::into_iter(array)
}