about summary refs log tree commit diff
path: root/src/liballoc/prelude.rs
AgeCommit message (Collapse)AuthorLines
2019-02-03liballoc: revert nested imports style changes.Mazdak Farrokhzad-8/+5
2019-02-02liballoc: refactor & fix some imports.Mazdak Farrokhzad-5/+8
2019-02-02liballoc: cargo check passes on 2018Mazdak Farrokhzad-5/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2018-07-07Add the `alloc::prelude` moduleSimon Sapin-0/+29
It contains the re-exports that are in `std::prelude::v1` but not in `core::prelude::v1`. Calling it prelude is somewhat of a misnomer since (unlike those modules in `std` or `core`) its contents are never implicitly imported in modules. Rather it is intended to be used with an explicit glob import like `use alloc::prelude::*;`. However there is precedent for the same misnomer with `std::io::prelude`, for example. This new module is unstable with the same feature name as the `alloc` care. They are proposed for stabilization together in RFC https://github.com/rust-lang/rfcs/pull/2480