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 8b6663b commit bce7775Copy full SHA for bce7775
reference/src/layout/unions.md
@@ -57,8 +57,9 @@ assert_eq!(size_of::<U>(), 2);
57
# }
58
``**
59
60
-**Note**: Fields are overlapped instead of laid out sequentially, so unlike structs there is no "between the fields" that could be filled with padding.
61
-only have trailing padding.
+> **Note**: Fields are overlapped instead of laid out sequentially, so
+> unlike structs there is no "between the fields" that could be filled
62
+> with padding.
63
64
The bit `i` of a `repr(C)` union is a padding bit if the bit `i` of each of its
65
fields is a padding bit or trailing padding. That is:
0 commit comments