]> git.lizzy.rs Git - rust.git/commitdiff
Update src/liballoc/str.rs
authorSimon Sapin <simon.sapin@exyr.org>
Tue, 9 Jul 2019 16:19:18 +0000 (18:19 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2019 16:19:18 +0000 (18:19 +0200)
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
src/liballoc/str.rs

index f57cf96a64196f8f6aa1d4231b0c9252d2e62530..9a1342c30d502b57130c632b4c3011faf1420f40 100644 (file)
@@ -83,7 +83,7 @@ fn concat(slice: &Self) -> String {
 }
 
 #[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 {