summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-07-08 18:12:06 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-07-09 11:45:46 +0200
commit5397dfce77f3b3d903580843af3da37615a44e74 (patch)
treecc434f88abe10a610485cb855e660ba7feac819f /src/liballoc
parent909f5a049415a815b23502a5498de9a99bbf276b (diff)
downloadrust-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.rs4
-rw-r--r--src/liballoc/str.rs4
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;