diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-08 18:12:06 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2019-07-09 11:45:46 +0200 |
| commit | 5397dfce77f3b3d903580843af3da37615a44e74 (patch) | |
| tree | cc434f88abe10a610485cb855e660ba7feac819f /src/liballoc | |
| parent | 909f5a049415a815b23502a5498de9a99bbf276b (diff) | |
| download | rust-5397dfce77f3b3d903580843af3da37615a44e74.tar.gz rust-5397dfce77f3b3d903580843af3da37615a44e74.zip | |
Remove obsolete “should not have to exist” reasons
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/slice.rs | 4 | ||||
| -rw-r--r-- | src/liballoc/str.rs | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index bc4ae167984..9a23cdc1768 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -595,9 +595,7 @@ pub trait SliceConcat<Separator: ?Sized>: Sized { fn join(slice: &[Self], sep: &Separator) -> Self::Output; } -#[unstable(feature = "slice_concat_ext", - reason = "trait should not have to exist", - issue = "27747")] +#[unstable(feature = "slice_concat_ext", issue = "27747")] impl<T: Clone, V: Borrow<[T]>> SliceConcat<T> for V { type Output = Vec<T>; diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs index 37a1046d094..b6512487ddd 100644 --- a/src/liballoc/str.rs +++ b/src/liballoc/str.rs @@ -71,9 +71,7 @@ pub use core::str::SplitAsciiWhitespace; #[stable(feature = "str_escape", since = "1.34.0")] pub use core::str::{EscapeDebug, EscapeDefault, EscapeUnicode}; -#[unstable(feature = "slice_concat_ext", - reason = "trait should not have to exist", - issue = "27747")] +#[unstable(feature = "slice_concat_ext", issue = "27747")] impl<S: Borrow<str>> SliceConcat<str> for S { type Output = String; |
