Remove obsolete “should not have to exist” reasons

This commit is contained in:
Simon Sapin 2019-07-08 18:12:06 +02:00
parent 909f5a0494
commit 5397dfce77
2 changed files with 2 additions and 6 deletions

View file

@ -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>;

View file

@ -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;