Skip to content

Commit

Permalink
it is okay not to use into_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 10, 2019
1 parent f3eede6 commit 4853ce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,7 @@ impl<T> MaybeUninit<T> {
/// 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()
}
Expand Down

0 comments on commit 4853ce6

Please sign in to comment.