We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2826ff5 commit 2275cdeCopy full SHA for 2275cde
src/behavior-considered-undefined.md
@@ -57,9 +57,9 @@ code.
57
> **Note**: `rustc` achieves this with the unstable
58
> `rustc_layout_scalar_valid_range_*` attributes.
59
60
-Note that uninitialized memory is also implicitly invalid for any type that has
61
-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
+**Note:** Uninitialized memory is also implicitly invalid for any type that has
+a restricted set of valid values. In other words, the only cases in which
+reading uninitialized memory is permitted is inside `union`s and between the
63
fields of a compound type (in the "padding").
64
65
A reference/pointer is "dangling" if it is null or not all of the bytes it
0 commit comments