Skip to content

Commit bccec5a

Browse files
Update type-layout.md
1 parent 2cf9f3a commit bccec5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/type-layout.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ For every primitive numeric type (`u8`, `i8`, `u16`, `i16`, `u32`, `i32`, `u64`,
6060
`i64`, `u128`, `i128`, `usize`, `isize`, `f32`, and `f64`), `T`, the bit validity
6161
of `T` is equivalent to the bit validity of `[u8; size_of::<T>()]`. `u8` has 256
6262
valid representations (namely, every 8-bit sequence). An uninitialized byte is not
63-
a valid u8. A byte at any offset in a reference or pointer type may not be a valid
64-
u8 (the semantics of transmuting a reference or pointer to a non-pointer type is
65-
currently undecided).
63+
a valid `u8`. A byte at any offset in a reference or pointer type may not be a
64+
valid `u8` (the semantics of transmuting a reference or pointer to a non-pointer
65+
type is currently undecided).
6666

6767
For the primitive numeric types and also for `bool` and `char`, every byte is
6868
guaranteed to be initialized (in other words, for every such type, `T`,

0 commit comments

Comments
 (0)