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

Improve zero value flag handling and documentation. #157

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

Alex-Addy
Copy link
Contributor

PR to resolve #151.

@Alex-Addy
Copy link
Contributor Author

This may not make for perfect zero flag resolution but it will at least provide some documentation. While the tests may or may not be correct they will at least prevent accidental changes to the behavior of zero value flags.

Copy link
Contributor

@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.

Thanks!

@dtolnay dtolnay merged commit 0797951 into bitflags:master Apr 30, 2018
@dtolnay
Copy link
Contributor

dtolnay commented Apr 30, 2018

I released 1.0.3 with this fix.

@Alex-Addy
Copy link
Contributor Author

Fantastic, I'm happy to be able to give back to such a useful library.

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.

Bitflags values of zero are considered always present
2 participants