Skip to content

Commit 4853ce6

Browse files
committed
it is okay not to use into_inner
1 parent f3eede6 commit 4853ce6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/mem.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,7 @@ impl<T> MaybeUninit<T> {
11471147
/// Deprecated alternative to `into_initialized`. Will never get stabilized.
11481148
/// Exists only to transition stdsimd to `into_initialized`.
11491149
#[inline(always)]
1150+
#[allow(unused)]
11501151
pub(crate) unsafe fn into_inner(self) -> T {
11511152
self.into_initialized()
11521153
}

0 commit comments

Comments
 (0)