Stabilize a portion of 'once_cell'
Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try'
This commit is contained in:
committed by
Trevor Gross
parent
f98598c6cd
commit
dc4ba57566
@@ -202,9 +202,9 @@ use crate::ptr::{self, NonNull};
|
||||
mod lazy;
|
||||
mod once;
|
||||
|
||||
#[unstable(feature = "once_cell", issue = "74465")]
|
||||
#[unstable(feature = "lazy_cell", issue = "109736")]
|
||||
pub use lazy::LazyCell;
|
||||
#[unstable(feature = "once_cell", issue = "74465")]
|
||||
#[stable(feature = "once_cell", since = "CURRENT_RUSTC_VERSION")]
|
||||
pub use once::OnceCell;
|
||||
|
||||
/// A mutable memory location.
|
||||
|
||||
Reference in New Issue
Block a user