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 dfb8b0e commit 4386a0bCopy full SHA for 4386a0b
tests/pass/issues/issue-3200-packed2-field-offset.rs
@@ -30,7 +30,7 @@ fn main() {
30
unsafe {
31
let p = PackedSized { f: 0, d: [1, 2, 3, 4] };
32
let p = p.unsize() as *const PackedUnsized;
33
- // Make sure the size computation correctly adds exact 1 byte of padding
+ // Make sure the size computation correctly adds exactly 1 byte of padding
34
// in front of the `d` field.
35
assert_eq!(mem::size_of_val_raw(p), 1 + 1 + 4 * 4);
36
// And likewise for the offset computation.
0 commit comments