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

Make enums PartialEq to their repr type #159

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

skade
Copy link

@skade skade commented Jul 4, 2017

Fixes #158

@skade
Copy link
Author

skade commented Jul 5, 2017

I decided on a different route here, by making enums generated by corrode to be comparable to their repr type.

@skade skade changed the title Cast enums to u32 before comparing in if clauses Make enums PartialEq to their repr type Jul 5, 2017
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.

1 participant