1
Fork 0

remove MaybeUninit::into_inner

This commit is contained in:
Ralf Jung 2019-02-14 16:21:21 +01:00
parent 1e4ab1eca6
commit c35a18ec2d

View file

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