Skip to content

Commit

Permalink
remove MaybeUninit::into_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 14, 2019
1 parent 1e4ab1e commit c35a18e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/libcore/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1149,14 +1149,6 @@ impl<T> MaybeUninit<T> {
ManuallyDrop::into_inner(self.value)
}

/// Deprecated alternative to `into_initialized`. Will never get stabilized.
/// Exists only to transition stdsimd to `into_initialized`.
#[inline(always)]
#[allow(unused)]
pub(crate) unsafe fn into_inner(self) -> T {
self.into_initialized()
}

/// Gets a reference to the contained value.
///
/// # Unsafety
Expand Down

0 comments on commit c35a18e

Please sign in to comment.