Skip to content
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 grammar #159

Merged
merged 1 commit into from
Dec 1, 2017
Merged

Enum grammar #159

merged 1 commit into from
Dec 1, 2017

Conversation

brauliobz
Copy link
Contributor

Part of #84

> &nbsp;&nbsp; `{` [_StructFields_]<sup>?</sup> `}`
>
> _EnumItemDiscriminant_ :
> &nbsp;&nbsp; `=` [_Expression_]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL it can be an expression, not just a literal.

@Havvy Havvy merged commit e19ff6d into rust-lang:master Dec 1, 2017
@Havvy
Copy link
Contributor

Havvy commented Dec 1, 2017

💟 😍 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants