We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 174b6a0 + 42405b4 commit 2860ec5Copy full SHA for 2860ec5
library/core/src/mem/maybe_uninit.rs
@@ -870,7 +870,7 @@ impl<T> MaybeUninit<T> {
870
// SAFETY:
871
// * The caller guarantees that all elements of the array are initialized
872
// * `MaybeUninit<T>` and T are guaranteed to have the same layout
873
- // * MaybeUnint does not drop, so there are no double-frees
+ // * `MaybeUninit` does not drop, so there are no double-frees
874
// And thus the conversion is safe
875
unsafe {
876
intrinsics::assert_inhabited::<[T; N]>();
0 commit comments