Skip to content

Commit eb0cd14

Browse files
authored
Merge pull request #34 from Wilfred/patch-1
Clarify that repr(any integer type) is legal
2 parents 81134a4 + 16399a1 commit eb0cd14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/other-reprs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ compiled as normal.)
5353

5454

5555

56-
# repr(u8), repr(u16), repr(u32), repr(u64)
56+
# repr(u*), repr(i*)
5757

5858
These specify the size to make a C-like enum. If the discriminant overflows the
5959
integer it has to fit in, it will produce a compile-time error. You can manually

0 commit comments

Comments
 (0)