Merge pull request #34 from Wilfred/patch-1

Clarify that repr(any integer type) is legal
drop
Alexis Beingessner 7 years ago committed by GitHub
commit eb0cd148da

@ -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 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 integer it has to fit in, it will produce a compile-time error. You can manually

Loading…
Cancel
Save