about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-07-09 18:19:18 +0200
committerGitHub <noreply@github.com>2019-07-09 18:19:18 +0200
commit5f7768a976edc296c62479b936993b4dc9af065b (patch)
treebaa0f0e0346866d516de1dd6c87d0fa9b90a7ea3 /src/liballoc
parentbbc9366c1a2d4d071b54cc1af23706a36741b444 (diff)
downloadrust-5f7768a976edc296c62479b936993b4dc9af065b.tar.gz
rust-5f7768a976edc296c62479b936993b4dc9af065b.zip
Update src/liballoc/str.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/liballoc')
-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 f57cf96a641..9a1342c30d5 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 {