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

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

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.