Skip to content

Commit 7ad8fb9

Browse files
committed
Rollup merge of #30443 - tshepang:just-a-rename, r=steveklabnik
2 parents b3bf43c + e9c912a commit 7ad8fb9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/libcollections/slice.rs

-9
Original file line numberDiff line numberDiff line change
@@ -909,15 +909,6 @@ pub trait SliceConcatExt<T: ?Sized> {
909909
#[stable(feature = "rename_connect_to_join", since = "1.3.0")]
910910
fn join(&self, sep: &T) -> Self::Output;
911911

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-
/// ```
921912
#[stable(feature = "rust1", since = "1.0.0")]
922913
#[rustc_deprecated(since = "1.3.0", reason = "renamed to join")]
923914
fn connect(&self, sep: &T) -> Self::Output;

0 commit comments

Comments
 (0)