Skip to content

Commit bce7775

Browse files
committed
Fix spurious trailing sentence
1 parent 8b6663b commit bce7775

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reference/src/layout/unions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ assert_eq!(size_of::<U>(), 2);
5757
# }
5858
``**
5959

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.
60+
> **Note**: Fields are overlapped instead of laid out sequentially, so
61+
> unlike structs there is no "between the fields" that could be filled
62+
> with padding.
6263

6364
The bit `i` of a `repr(C)` union is a padding bit if the bit `i` of each of its
6465
fields is a padding bit or trailing padding. That is:

0 commit comments

Comments
 (0)