From bb0e0a9f39cf362435756d6241ea7dc52dbd6111 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 22 Feb 2015 20:44:59 +0200 Subject: [PATCH] std::prelude: code consistency nits --- src/libstd/prelude/v1.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libstd/prelude/v1.rs b/src/libstd/prelude/v1.rs index d2dc3345120..dad0ff0a15e 100644 --- a/src/libstd/prelude/v1.rs +++ b/src/libstd/prelude/v1.rs @@ -23,7 +23,6 @@ #[doc(no_inline)] pub use mem::drop; // Reexported types and traits - #[stable(feature = "rust1", since = "1.0.0")] #[doc(no_inline)] pub use boxed::Box; #[stable(feature = "rust1", since = "1.0.0")] @@ -45,9 +44,7 @@ #[stable(feature = "rust1", since = "1.0.0")] #[doc(no_inline)] pub use result::Result::{self, Ok, Err}; #[stable(feature = "rust1", since = "1.0.0")] -#[doc(no_inline)] pub use slice::AsSlice; -#[stable(feature = "rust1", since = "1.0.0")] -#[doc(no_inline)] pub use slice::{SliceExt, SliceConcatExt}; +#[doc(no_inline)] pub use slice::{SliceExt, SliceConcatExt, AsSlice}; #[stable(feature = "rust1", since = "1.0.0")] #[doc(no_inline)] pub use str::{Str, StrExt}; #[stable(feature = "rust1", since = "1.0.0")]