Skip to content

Commit 8de5f2b

Browse files
committed
modify example for check
1 parent 1f900ee commit 8de5f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type-layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ For array and slice fields `[T; N]` and `[T]`, the ABI alignment equals that of
605605

606606
**Examples**
607607

608-
```rust
608+
```rust,ignore
609609
// Allowed: `u8` has ABI alignment 1, which is ≤ the packed alignment (typically 1).
610610
#[repr(C, packed)]
611611
struct S<const N: usize> { buf: [u8; N] }

0 commit comments

Comments
 (0)