Skip to content

Commit 4897618

Browse files
committed
Merge branch 'reprc_unions' of github.com:gnzlbg/unsafe-code-guidelines into reprc_unions
2 parents a057fa2 + f438c09 commit 4897618

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)