Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7456fd1

Browse files
Really fix build (I think)
1 parent b0eca0b commit 7456fd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 { mem::MaybeUninit::uninit().assume_init() },
1040+
None => unsafe { MaybeUninit::uninit().assume_init() },
10411041
}
10421042
}
10431043

library/core/src/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@
490490

491491
use crate::iter::{self, FusedIterator, TrustedLen};
492492
use crate::ops::{self, ControlFlow, Deref, DerefMut};
493-
use crate::{convert, fmt, hint, mem};
493+
use crate::{convert, fmt, mem};
494494

495495
/// `Result` is a type that represents either success ([`Ok`]) or failure ([`Err`]).
496496
///

0 commit comments

Comments
 (0)