Skip to content

fix: clippy warnning manual_is_multiple_of #17853

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

Merged

Conversation

JackDrogon
Copy link
Contributor

fix clippy warnning manual_is_multiple_of

    if blob_gas_used % DATA_GAS_PER_BLOB != 0 {
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!blob_gas_used.is_multiple_of(DATA_GAS_PER_BLOB)`

 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
 = note: `-D clippy::manual-is-multiple-of` implied by `-D warnings`
 = help: to override `-D warnings` add `#[allow(clippy::manual_is_multiple_of)]`

    if blob_gas_used % DATA_GAS_PER_BLOB != 0 {
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!blob_gas_used.is_multiple_of(DATA_GAS_PER_BLOB)`

 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
 = note: `-D clippy::manual-is-multiple-of` implied by `-D warnings`
 = help: to override `-D warnings` add `#[allow(clippy::manual_is_multiple_of)]`

Signed-off-by: Jack Drogon <[email protected]>
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Aug 13, 2025
@mattsse mattsse enabled auto-merge August 13, 2025 13:40
@mattsse mattsse added this pull request to the merge queue Aug 13, 2025
Merged via the queue into paradigmxyz:main with commit f1da87e Aug 13, 2025
41 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Aug 13, 2025
@JackDrogon JackDrogon deleted the fix/clippy_manual_is_multiple_of branch August 13, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants