]> git.lizzy.rs Git - rust.git/blob - src/liballoc/prelude/mod.rs
rustc_span: return an impl Iterator instead of a Vec from macro_backtrace.
[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_prelude)]
9 //! extern crate alloc;
10 //! use alloc::prelude::v1::*;
11 //! ```
12
13 #![unstable(feature = "alloc_prelude", issue = "58935")]
14
15 pub mod v1;