Skip to content

Commit

Permalink
Merge pull request #34 from Wilfred/patch-1
Browse files Browse the repository at this point in the history
Clarify that repr(any integer type) is legal
  • Loading branch information
Gankra authored Jul 24, 2017
2 parents 81134a4 + 16399a1 commit eb0cd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/other-reprs.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ compiled as normal.)



# repr(u8), repr(u16), repr(u32), repr(u64)
# repr(u*), repr(i*)

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

0 comments on commit eb0cd14

Please sign in to comment.