We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b3bf43c + e9c912a commit 7ad8fb9Copy full SHA for 7ad8fb9
src/libcollections/slice.rs
@@ -909,15 +909,6 @@ pub trait SliceConcatExt<T: ?Sized> {
909
#[stable(feature = "rename_connect_to_join", since = "1.3.0")]
910
fn join(&self, sep: &T) -> Self::Output;
911
912
- /// Flattens a slice of `T` into a single value `Self::Output`, placing a
913
- /// given separator between each.
914
- ///
915
- /// # Examples
916
917
- /// ```
918
- /// # #![allow(deprecated)]
919
- /// assert_eq!(["hello", "world"].connect(" "), "hello world");
920
921
#[stable(feature = "rust1", since = "1.0.0")]
922
#[rustc_deprecated(since = "1.3.0", reason = "renamed to join")]
923
fn connect(&self, sep: &T) -> Self::Output;
0 commit comments