From 4fbe73e0b79afb9e2b352438bac743104f0d2ba6 Mon Sep 17 00:00:00 2001 From: Jacob Pratt Date: Thu, 7 Apr 2022 21:20:32 -0400 Subject: Remove use of `#[rustc_deprecated]` --- library/core/src/array/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/core/src/array') diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs index e5024c215be..5cecc4086d8 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.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) } -- cgit 1.4.1-3-g733a5