Skip to content

Commit c35a18e

Browse files
committed
remove MaybeUninit::into_inner
1 parent 1e4ab1e commit c35a18e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/libcore/mem.rs

-8
Original file line numberDiff line numberDiff line change
@@ -1149,14 +1149,6 @@ impl<T> MaybeUninit<T> {
11491149
ManuallyDrop::into_inner(self.value)
11501150
}
11511151

1152-
/// Deprecated alternative to `into_initialized`. Will never get stabilized.
1153-
/// Exists only to transition stdsimd to `into_initialized`.
1154-
#[inline(always)]
1155-
#[allow(unused)]
1156-
pub(crate) unsafe fn into_inner(self) -> T {
1157-
self.into_initialized()
1158-
}
1159-
11601152
/// Gets a reference to the contained value.
11611153
///
11621154
/// # Unsafety

0 commit comments

Comments
 (0)