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

Expose the enum value to Rust as a field #182

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

jgalenson
Copy link
Contributor

Fixes #178.

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Looks good.

Do you need me to publish releases to crates.io for your use case, or are you getting this code from git?

@dtolnay dtolnay merged commit 18cd757 into dtolnay:master May 1, 2020
@jgalenson jgalenson deleted the enums branch May 1, 2020 21:31
@jgalenson
Copy link
Contributor Author

I'm just using git, so don't worry about me. Thanks for asking!

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.

Expose enum value as integer
2 participants