about summary refs log tree commit diff
path: root/library/alloc/src/prelude/mod.rs
blob: 0534ad3edc79d541ebe1695f81ffaf7ff455d441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The alloc Prelude
//!
//! The purpose of this module is to alleviate imports of commonly-used
//! items of the `alloc` crate by adding a glob import to the top of modules:
//!
//! ```
//! # #![allow(unused_imports)]
//! #![feature(alloc_prelude)]
//! extern crate alloc;
//! use alloc::prelude::v1::*;
//! ```

#![unstable(feature = "alloc_prelude", issue = "58935")]

pub mod v1;