Skip to content

Commit fd98988

Browse files
Really really fix build
1 parent 7456fd1 commit fd98988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/option.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ use crate::iter::{self, FusedIterator, TrustedLen};
557557
use crate::panicking::{panic, panic_display};
558558
use crate::pin::Pin;
559559
use crate::{
560-
cmp, convert, hint, mem,
560+
cmp, convert, mem,
561561
ops::{self, ControlFlow, Deref, DerefMut},
562562
slice,
563563
};
@@ -1037,7 +1037,7 @@ impl<T> Option<T> {
10371037
match self {
10381038
Some(val) => val,
10391039
// SAFETY: the safety contract must be upheld by the caller.
1040-
None => unsafe { MaybeUninit::uninit().assume_init() },
1040+
None => unsafe { mem::MaybeUninit::uninit().assume_init() },
10411041
}
10421042
}
10431043

0 commit comments

Comments
 (0)