]> git.lizzy.rs Git - rust.git/blob - src/liballoc/prelude/mod.rs
Move alloc::prelude::* to alloc::prelude::v1, make alloc a subset of std
[rust.git] / src / liballoc / prelude / mod.rs
1 //! The alloc Prelude
2 //!
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:
5 //!
6 //! ```
7 //! # #![allow(unused_imports)]
8 //! # #![feature(alloc)]
9 //! extern crate alloc;
10 //! use alloc::prelude::v1::*;
11 //! ```
12
13 #![unstable(feature = "alloc", issue = "27783")]
14
15 pub mod v1;