]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/slice.rs
Rollup merge of #96882 - jackh726:no-subst, r=oli-obk
[rust.git] / library / alloc / src / slice.rs
index 02a47c57b8ae3bcec2a7c27e8018b1d922d53543..5bdf36a63a22506122a2c5bf6a0ebbba99bc5ffe 100644 (file)
@@ -657,7 +657,7 @@ pub fn join<Separator>(&self, sep: Separator) -> <Self as Join<Separator>>::Outp
     /// ```
     #[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>,