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/alloc/src/slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/alloc') 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] { /// ``` #[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(&self, sep: Separator) -> >::Output where Self: Join, -- cgit 1.4.1-3-g733a5