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:
Trevor Gross
2022-12-12 00:42:45 -05:00
committed by Trevor Gross
parent f98598c6cd
commit dc4ba57566
40 changed files with 87 additions and 128 deletions

View File

@@ -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.