diff options
Diffstat (limited to 'library/alloc/src/prelude/v1.rs')
| -rw-r--r-- | library/alloc/src/prelude/v1.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/library/alloc/src/prelude/v1.rs b/library/alloc/src/prelude/v1.rs new file mode 100644 index 00000000000..6a53b4ca1f6 --- /dev/null +++ b/library/alloc/src/prelude/v1.rs @@ -0,0 +1,14 @@ +//! The first version of the prelude of `alloc` crate. +//! +//! See the [module-level documentation](../index.html) for more. + +#![unstable(feature = "alloc_prelude", issue = "58935")] + +#[unstable(feature = "alloc_prelude", issue = "58935")] +pub use crate::borrow::ToOwned; +#[unstable(feature = "alloc_prelude", issue = "58935")] +pub use crate::boxed::Box; +#[unstable(feature = "alloc_prelude", issue = "58935")] +pub use crate::string::{String, ToString}; +#[unstable(feature = "alloc_prelude", issue = "58935")] +pub use crate::vec::Vec; |
