3 //! The purpose of this module is to alleviate imports of commonly-used
4 //! items of the `alloc` crate by adding a glob import to the top of modules:
7 //! # #![allow(unused_imports)]
8 //! # #![feature(alloc)]
9 //! extern crate alloc;
10 //! use alloc::prelude::*;
13 #![unstable(feature = "alloc", issue = "27783")]
15 #[unstable(feature = "alloc", issue = "27783")] pub use crate::borrow::ToOwned;
16 #[unstable(feature = "alloc", issue = "27783")] pub use crate::boxed::Box;
17 #[unstable(feature = "alloc", issue = "27783")] pub use crate::slice::SliceConcatExt;
18 #[unstable(feature = "alloc", issue = "27783")] pub use crate::string::{String, ToString};
19 #[unstable(feature = "alloc", issue = "27783")] pub use crate::vec::Vec;