about summary refs log tree commit diff
path: root/src/liballoc/str.rs
diff options
context:
space:
mode:
authorChris Gregory <czipperz@gmail.com>2019-05-24 21:04:56 -0500
committerChris Gregory <czipperz@gmail.com>2019-05-24 21:04:56 -0500
commit3dd114e1cb24ce56d136dfd0af00780f06a2975c (patch)
tree0520a97781775642e500cc13bd0e95e1dc21cedf /src/liballoc/str.rs
parentfc45382c125d940822368e866588568d78551946 (diff)
downloadrust-3dd114e1cb24ce56d136dfd0af00780f06a2975c.tar.gz
rust-3dd114e1cb24ce56d136dfd0af00780f06a2975c.zip
SliceConcatExt::connect defaults to calling join
Diffstat (limited to 'src/liballoc/str.rs')
-rw-r--r--src/liballoc/str.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs
index f66ff894ae8..0b7374fd8e4 100644
--- a/src/liballoc/str.rs
+++ b/src/liballoc/str.rs
@@ -86,10 +86,6 @@ impl<S: Borrow<str>> SliceConcatExt<str> for [S] {
             String::from_utf8_unchecked( join_generic_copy(self, sep.as_bytes()) )
         }
     }
-
-    fn connect(&self, sep: &str) -> String {
-        self.join(sep)
-    }
 }
 
 macro_rules! spezialize_for_lengths {