From 3394fb7bb7f08c045f9a82bb92272418c855859d Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 15 Jun 2018 03:59:59 +0200 Subject: [PATCH] Remove the Vec and String reexports at the root of the alloc crate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … since `std` has no corresponding reexports. Use `alloc::vec::Vec` and `alloc::string::String` instead. --- src/liballoc/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index e8be9ecfa363..9e1740473fea 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;