about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2022-04-07 21:20:32 -0400
committerJacob Pratt <jacob@jhpratt.dev>2022-04-14 01:33:13 -0400
commit4fbe73e0b79afb9e2b352438bac743104f0d2ba6 (patch)
tree84f8597c04edc4113e8b26f9974ee7d9b5566639 /library/core/src/array
parent8ff5e3cf99f93f80b7d0c1cf2a6cf859a8dda563 (diff)
downloadrust-4fbe73e0b79afb9e2b352438bac743104f0d2ba6.tar.gz
rust-4fbe73e0b79afb9e2b352438bac743104f0d2ba6.zip
Remove use of `#[rustc_deprecated]`
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/iter.rs2
1 files changed, 1 insertions, 1 deletions
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<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)
     }