about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-06-15 03:59:59 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-29 14:01:33 +0200
commit3394fb7bb7f08c045f9a82bb92272418c855859d (patch)
treea072b38fdbf73eb01b3b33bfa0c0b776e406111c /src/liballoc
parentb0547cea0ae50f49619ded26f43d0d55a1674b14 (diff)
downloadrust-3394fb7bb7f08c045f9a82bb92272418c855859d.tar.gz
rust-3394fb7bb7f08c045f9a82bb92272418c855859d.zip
Remove the Vec and String reexports at the root of the alloc crate
… since `std` has no corresponding reexports.

Use `alloc::vec::Vec` and `alloc::string::String` instead.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index e8be9ecfa36..9e1740473fe 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -179,8 +179,3 @@ pub mod vec;
 mod std {
     pub use core::ops;      // RangeFull
 }
-
-#[doc(no_inline)]
-pub use string::String;
-#[doc(no_inline)]
-pub use vec::Vec;