diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-09 18:19:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-09 18:19:01 +0200 |
| commit | d0635ee5f74badbf72355b7e29d7f0723e8551da (patch) | |
| tree | 0ed534fdce27071f77f9e03b282c6883952196f1 /src/liballoc | |
| parent | b62a77b4905150b14c8b0fd6e685f528e4f90ea7 (diff) | |
| download | rust-d0635ee5f74badbf72355b7e29d7f0723e8551da.tar.gz rust-d0635ee5f74badbf72355b7e29d7f0723e8551da.zip | |
Update src/liballoc/slice.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/slice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index d475c628ff1..848df2f9dcf 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -646,7 +646,7 @@ impl<T: Clone, V: Borrow<[T]>> Concat<T> for [V] { } #[unstable(feature = "slice_concat_ext", issue = "27747")] -impl<T: Clone, V: Borrow<[T]>> Join<&'_ T> for [V] { +impl<T: Clone, V: Borrow<[T]>> Join<&T> for [V] { type Output = Vec<T>; fn join(slice: &Self, sep: &T) -> Vec<T> { |
