Skip to content

Commit f438c09

Browse files
gnzlbgRalfJung
andauthored
Update reference/src/layout/unions.md
Co-Authored-By: Ralf Jung <[email protected]>
1 parent e88dc3d commit f438c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: reference/src/layout/unions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ union U {
8080
# fn main() {
8181
// The zero-sized type [u16; 0] raises the alignment requirement to 2
8282
assert_eq!(align_of::<U>(), 2);
83-
// This introduces trailing padding, raising the union size to 2
83+
// This in turn introduces trailing padding, raising the union size to 2
8484
assert_eq!(size_of::<U>(), 2);
8585
# }
8686
```

0 commit comments

Comments
 (0)