Skip to content

Commit 26211c4

Browse files
committed
explain 'padding' differently
1 parent 2275cde commit 26211c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/behavior-considered-undefined.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ code.
5959
6060
**Note:** Uninitialized memory is also implicitly invalid for any type that has
6161
a restricted set of valid values. In other words, the only cases in which
62-
reading uninitialized memory is permitted is inside `union`s and between the
63-
fields of a compound type (in the "padding").
62+
reading uninitialized memory is permitted is inside `union`s and in "padding"
63+
(the gaps between the fields/elements of a type).
6464

6565
A reference/pointer is "dangling" if it is null or not all of the bytes it
6666
points to are part of the same allocation (so in particular they all have to be

0 commit comments

Comments
 (0)