Skip to content

Commit 4db50aa

Browse files
joshlfRalfJung
andauthored
Update library/core/src/mem/maybe_uninit.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 470e856 commit 4db50aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/mem/maybe_uninit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ use crate::{fmt, intrinsics, ptr, slice};
256256
/// # Validity
257257
///
258258
/// A `MaybeUninit<T>` has no validity requirement – any sequence of [bytes][reference-byte] of the
259-
/// appropriate length, initialized to any value or uninitialized, are a valid value of `MaybeUninit<T>`.
259+
/// appropriate length, initialized or uninitialized, are a valid representation of `MaybeUninit<T>`.
260260
///
261261
/// However, "round-tripping" via `MaybeUninit` does not always result in the original value.
262262
/// Concretely, given distinct `T` and `U` where `size_of::<T>() == size_of::<U>()`, the following

0 commit comments

Comments
 (0)