Skip to content

Conversation

@brancz
Copy link
Member

@brancz brancz commented Dec 11, 2025

Replace manual modulo checks with .is_multiple_of() method:

  • Line 250: p % N == 0 -> p.is_multiple_of(N)
  • Line 271: address % align == 0 -> address.is_multiple_of(align)

Replace manual modulo checks with .is_multiple_of() method:
- Line 250: p % N == 0 -> p.is_multiple_of(N)
- Line 271: address % align == 0 -> address.is_multiple_of(align)
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@brancz brancz merged commit df74643 into main Dec 11, 2025
2 of 3 checks passed
@brancz brancz deleted the claude/fix-clippy-errors-01Qk3Zt6hcatK2Z1RiPA4mdX branch December 11, 2025 12:51
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.

4 participants