Skip to content

Add methods to get the known/unknown bits from a flags value#473

Merged
KodrAus merged 3 commits into
bitflags:mainfrom
WaterWhisperer:feat/get-unknown-bits
Feb 13, 2026
Merged

Add methods to get the known/unknown bits from a flags value#473
KodrAus merged 3 commits into
bitflags:mainfrom
WaterWhisperer:feat/get-unknown-bits

Conversation

@WaterWhisperer

Copy link
Copy Markdown
Contributor

Fixes: #442

@KodrAus

KodrAus commented Feb 12, 2026

Copy link
Copy Markdown
Member

Thanks for the PR @WaterWhisperer! Would it be possible to add some tests to the src/tests directory that covers this?

@WaterWhisperer

Copy link
Copy Markdown
Contributor Author

Thanks for the PR @WaterWhisperer! Would it be possible to add some tests to the src/tests directory that covers this?

Sure

@KodrAus

KodrAus commented Feb 12, 2026

Copy link
Copy Markdown
Member

Feel free to ignore the Miri failure there; it's related to an issue in the current Rust nightly toolchain.

@KodrAus
KodrAus merged commit 81d5fac into bitflags:main Feb 13, 2026
10 checks passed
@WaterWhisperer
WaterWhisperer deleted the feat/get-unknown-bits branch February 14, 2026 04:50
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.

Add a method to get the unknown bits from a flags value

2 participants