Skip to content

Conversation

@aaronmrice
Copy link
Contributor

cargo clippy warns on the common pattern a % b == 0, which returns true if a is a multiple of b. Rust unsigned integers have an is_multiple_of method, which makes the intent slightly clearer.

cargo clippy warns on the common pattern `a % b == 0`, which returns
true if `a` is a multiple of `b`. Rust unsigned integers have an
`is_multiple_of` method, which makes the intent slightly clearer.
@alexhroom
Copy link
Collaborator

looks good to me, thanks!

@alexhroom alexhroom merged commit e0623ee into dimforge:main Nov 23, 2025
13 checks passed
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