We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
repr
1 parent ebd3639 commit e735b31Copy full SHA for e735b31
reference/src/layout/enums.md
@@ -117,7 +117,7 @@ The `#[repr(C)]` annotation is equivalent, but it selects the same
117
size as the C compiler would use for the given target for an
118
equivalent C-enum declaration.
119
120
-Combining a `C` and `Int` representation (e.g., `#[repr(C, u8)]`) is
+Combining a `C` and `Int` `repr` (e.g., `#[repr(C, u8)]`) is
121
not permitted on a fieldless enum.
122
123
The values used for the discriminant will match up with what is
0 commit comments