Skip to content

Commit

Permalink
Update src/liballoc/str.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
SimonSapin and Centril authored Jul 9, 2019
1 parent bbc9366 commit 5f7768a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5f7768a

Please sign in to comment.