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

Add types to build MAIR values. #57

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Add types to build MAIR values. #57

merged 1 commit into from
Aug 27, 2024

Conversation

qwandor
Copy link
Collaborator

@qwandor qwandor commented Aug 9, 2024

These let a constant MAIR value be built with a builder pattern and named constants, which should be more readable and safer than using bitwise operations directly. Display implementations are also included to format MAIR values in a human-readable form.

@qwandor qwandor requested a review from ardbiesheuvel August 9, 2024 17:05
@qwandor
Copy link
Collaborator Author

qwandor commented Aug 9, 2024

Review of the terminology and naming would be particularly appreciated.

@qwandor qwandor force-pushed the mair branch 2 times, most recently from 1544e99 to 0d63407 Compare August 9, 2024 17:08
These let a constant MAIR value be built with a builder pattern and
named constants, which should be more readable and safer than using
bitwise operations directly. Display implementations are also included
to format MAIR values in a human-readable form.
@qwandor qwandor merged commit 5ab8148 into main Aug 27, 2024
4 checks passed
@qwandor qwandor deleted the mair branch August 27, 2024 10:54
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