Skip to content

Commit

Permalink
Really really fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed May 5, 2024
1 parent 7456fd1 commit fd98988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ use crate::iter::{self, FusedIterator, TrustedLen};
use crate::panicking::{panic, panic_display};
use crate::pin::Pin;
use crate::{
cmp, convert, hint, mem,
cmp, convert, mem,
ops::{self, ControlFlow, Deref, DerefMut},
slice,
};
Expand Down Expand Up @@ -1037,7 +1037,7 @@ impl<T> Option<T> {
match self {
Some(val) => val,
// SAFETY: the safety contract must be upheld by the caller.
None => unsafe { MaybeUninit::uninit().assume_init() },
None => unsafe { mem::MaybeUninit::uninit().assume_init() },
}
}

Expand Down

0 comments on commit fd98988

Please sign in to comment.