-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enum documentation not updated for RFC 2195 #786
Labels
A-type-layout
Area: type layout
Comments
It looks like there was an attempt to do this at #246 that wasn't completed. |
cc-ing @poliorcetics as requested in Zulip. |
Opened #879 to hopefully fix this. |
ehuss
pushed a commit
that referenced
this issue
Sep 4, 2020
Document the changes introduced in https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md. Fixes #244 (I believe), fixes #786.
ldm0
pushed a commit
to ldm0/reference
that referenced
this issue
Sep 16, 2020
Document the changes introduced in https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md. Fixes rust-lang#244 (I believe), fixes rust-lang#786.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-field-less-enumerations talks about "Custom Discriminant Values for Field-Less Enumerations", but does not mention at all that since https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md Rust also supports custom discriminant values and defined layout for enums with fields.
The text was updated successfully, but these errors were encountered: