Skip to content

refactor: replace magic numbers with named constants in M extension gadgets#544

Closed
letmehateu wants to merge 1 commit intonexus-xyz:mainfrom
letmehateu:main
Closed

refactor: replace magic numbers with named constants in M extension gadgets#544
letmehateu wants to merge 1 commit intonexus-xyz:mainfrom
letmehateu:main

Conversation

@letmehateu
Copy link

Before opening your pull request, please respond to the following prompts.

Is this resolving a feature or a bug?

NB: We DO NOT accept typo fixes. Generally, we do not accept edits to comments (starting with //) or minor grammatical and technical edits more generally, but do accept substantive fixes and improvements to the content of documentation comments (///) and README files.

Are there existing issue(s) that this PR would close?

If this PR is not minimal (it could be split into multiple PRs), please explain why the issues are best resolved together.

Describe your changes.

Replaces hardcoded bit shift values and bitmasks with named constants in M extension gadgets.

@sjudson sjudson requested a review from slumber November 26, 2025 13:39
@slumber
Copy link
Contributor

slumber commented Dec 1, 2025

Thank you for the PR.

Current style is consistent within the codebase and matches doc comments wherever they're present.

@slumber slumber closed this Dec 1, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants