From e9c912a9657984ca7a090819d8bd2342ab0d0ee0 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 17 Dec 2015 21:04:26 +0200 Subject: [PATCH] doc: no need to duplicate docs on renamed API --- src/libcollections/slice.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 9aab6c93c8210..bc5927f3d5e1c 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -909,15 +909,6 @@ pub trait SliceConcatExt { #[stable(feature = "rename_connect_to_join", since = "1.3.0")] fn join(&self, sep: &T) -> Self::Output; - /// Flattens a slice of `T` into a single value `Self::Output`, placing a - /// given separator between each. - /// - /// # Examples - /// - /// ``` - /// # #![allow(deprecated)] - /// assert_eq!(["hello", "world"].connect(" "), "hello world"); - /// ``` #[stable(feature = "rust1", since = "1.0.0")] #[rustc_deprecated(since = "1.3.0", reason = "renamed to join")] fn connect(&self, sep: &T) -> Self::Output;