Skip to content
Permalink
Browse files

Rename the feature gate for alloc::prelude

… to separate it from that of the crate.

New tracking issue: #58935
  • Loading branch information...
SimonSapin committed Mar 5, 2019
1 parent 2b49ec0 commit 5d1022ad7b82168aee243d2adcbd83d1e886586f
Showing with 8 additions and 7 deletions.
  1. +2 −1 src/liballoc/prelude/mod.rs
  2. +6 −6 src/liballoc/prelude/v1.rs
@@ -6,10 +6,11 @@
//! ```
//! # #![allow(unused_imports)]
//! # #![feature(alloc)]
//! #![feature(alloc_prelude)]
//! extern crate alloc;
//! use alloc::prelude::v1::*;
//! ```

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

pub mod v1;
@@ -2,10 +2,10 @@
//!
//! See the [module-level documentation](../index.html) for more.

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

#[unstable(feature = "alloc", issue = "27783")] pub use crate::borrow::ToOwned;
#[unstable(feature = "alloc", issue = "27783")] pub use crate::boxed::Box;
#[unstable(feature = "alloc", issue = "27783")] pub use crate::slice::SliceConcatExt;
#[unstable(feature = "alloc", issue = "27783")] pub use crate::string::{String, ToString};
#[unstable(feature = "alloc", issue = "27783")] pub use crate::vec::Vec;
#[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::slice::SliceConcatExt;
#[unstable(feature = "alloc_prelude", issue = "58935")] pub use crate::string::{String, ToString};
#[unstable(feature = "alloc_prelude", issue = "58935")] pub use crate::vec::Vec;

0 comments on commit 5d1022a

Please sign in to comment.
You can’t perform that action at this time.