about summary refs log tree commit diff
path: root/src/liballoc/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc/str.rs')
-rw-r--r--src/liballoc/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs
index 726ac1907fa..f57cf96a641 100644
--- a/src/liballoc/str.rs
+++ b/src/liballoc/str.rs
@@ -83,7 +83,7 @@ impl<S: Borrow<str>> Concat<str> for [S] {
 }
 
 #[unstable(feature = "slice_concat_ext", issue = "27747")]
-impl<S: Borrow<str>> Join<str> for [S] {
+impl<S: Borrow<str>> Join<&'_ str> for [S] {
     type Output = String;
 
     fn join(slice: &Self, sep: &str) -> String {