alloc::prelude - Rust
Description: The alloc Prelude
Keywords: rust, rustlang, rust-lang, prelude

# Module alloc::prelude
[−][src]

🔬 This is a nightly-only experimental API. (`alloc_prelude` #58935)
Expand description

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:

    #![feature(alloc_prelude)]
    extern crate alloc;
    use alloc::prelude::v1::*;

Run

## Modules

v1 Experimental

The first version of the prelude of `alloc` crate.