Skip to content

Commit 83766c8

Browse files
authored
Annotate code block in type-layout.md with rust
Syntax is not highlighted in <https://doc.rust-lang.org/reference/type-layout.html#reprc-unions>
1 parent 633541c commit 83766c8

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
@@ -205,7 +205,7 @@ The union will have a size of the maximum size of all of its fields rounded to
205205
its alignment, and an alignment of the maximum alignment of all of its fields.
206206
These maximums may come from different fields.
207207

208-
```
208+
```rust
209209
#[repr(C)]
210210
union Union {
211211
f1: u16,

0 commit comments

Comments
 (0)