diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-12-17 14:47:14 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-12-17 14:47:14 -0500 |
| commit | 7ad8fb9f3c2cea5bee14c1cafb70f024502eff64 (patch) | |
| tree | ebfd0ac26106ff17ead25182dbb6e7effa6e1cd9 /src | |
| parent | b3bf43cdb543f2d5a0daec1415579ad9d4f38c11 (diff) | |
| parent | e9c912a9657984ca7a090819d8bd2342ab0d0ee0 (diff) | |
Rollup merge of #30443 - tshepang:just-a-rename, r=steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/slice.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 9aab6c93c82..bc5927f3d5e 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -909,15 +909,6 @@ pub trait SliceConcatExt<T: ?Sized> { #[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; |
