Skip to content

Commit fc06906

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

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
@@ -273,7 +273,7 @@ use crate::{fmt, intrinsics, ptr, slice};
273273
/// }
274274
/// ```
275275
///
276-
/// If `T` contains initialized bytes at byte offsets where `U` contains padding bytes, these
276+
/// If the representation of `t` contains initialized bytes at byte offsets where `U` contains padding bytes, these
277277
/// may not be preserved in `MaybeUninit<U>`, and so `transmute(u)` may produce a `T` with
278278
/// uninitialized bytes in these positions. This is an active area of discussion, and this code
279279
/// may become sound in the future.

0 commit comments

Comments
 (0)