Skip to content

Commit 6237f23

Browse files
committed
fix typo in comment
1 parent 0d5fdcc commit 6237f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass/issues/issue-3200-packed2-field-offset.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() {
3030
unsafe {
3131
let p = PackedSized { f: 0, d: [1, 2, 3, 4] };
3232
let p = p.unsize() as *const PackedUnsized;
33-
// Make sure the size computation correctly adds exact 1 byte of padding
33+
// Make sure the size computation correctly adds exactly 1 byte of padding
3434
// in front of the `d` field.
3535
assert_eq!(mem::size_of_val_raw(p), 1 + 1 + 4 * 4);
3636
// And likewise for the offset computation.

0 commit comments

Comments
 (0)