]> git.lizzy.rs Git - rust.git/commitdiff
std::prelude: code consistency nits
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Sun, 22 Feb 2015 18:44:59 +0000 (20:44 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Mon, 23 Feb 2015 22:57:14 +0000 (00:57 +0200)
src/libstd/prelude/v1.rs

index d2dc33451200f5f866973f03939eecf2523613c5..dad0ff0a15e299424d265b076d15f20f229c525b 100644 (file)
@@ -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")]