Skip to content

Commit

Permalink
for the rest functions
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun committed Mar 25, 2024
1 parent 4dc3dae commit fd29d3a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions library/core/src/cell/once.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,6 @@ impl<T> OnceCell<T> {
/// If `f` panics, the panic is propagated to the caller, and the cell
/// remains uninitialized.
///
/// It is an error to reentrantly initialize the cell from `f`. Doing
/// so results in a panic.
///
/// # Examples
///
/// ```
Expand Down
8 changes: 0 additions & 8 deletions library/std/src/sync/once_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,6 @@ impl<T> OnceLock<T> {
/// If `f` panics, the panic is propagated to the caller, and the cell
/// remains uninitialized.
///
/// It is an error to reentrantly initialize the cell from `f`. The
/// exact outcome is unspecified. Current implementation deadlocks, but
/// this may be changed to a panic in the future.
///
/// # Examples
///
/// ```
Expand Down Expand Up @@ -356,10 +352,6 @@ impl<T> OnceLock<T> {
/// If `f` panics, the panic is propagated to the caller, and
/// the cell remains uninitialized.
///
/// It is an error to reentrantly initialize the cell from `f`.
/// The exact outcome is unspecified. Current implementation
/// deadlocks, but this may be changed to a panic in the future.
///
/// # Examples
///
/// ```
Expand Down

0 comments on commit fd29d3a

Please sign in to comment.