summary refs log tree commit diff
path: root/library/alloc/src
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/alloc/src
parent8ff5e3cf99f93f80b7d0c1cf2a6cf859a8dda563 (diff)
downloadrust-4fbe73e0b79afb9e2b352438bac743104f0d2ba6.tar.gz
rust-4fbe73e0b79afb9e2b352438bac743104f0d2ba6.zip
Remove use of `#[rustc_deprecated]`
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs
index 31edbe0c5af..68785c79159 100644
--- a/library/alloc/src/slice.rs
+++ b/library/alloc/src/slice.rs
@@ -657,7 +657,7 @@ impl<T> [T] {
     /// ```
     #[rustc_allow_incoherent_impl]
     #[stable(feature = "rust1", since = "1.0.0")]
-    #[rustc_deprecated(since = "1.3.0", reason = "renamed to join")]
+    #[deprecated(since = "1.3.0", note = "renamed to join")]
     pub fn connect<Separator>(&self, sep: Separator) -> <Self as Join<Separator>>::Output
     where
         Self: Join<Separator>,