Skip to content

Various Clippy fixes.#91

Merged
ratmice merged 1 commit into
softdevteam:masterfrom
ltratt:clippy_fixes
Jul 16, 2026
Merged

Various Clippy fixes.#91
ratmice merged 1 commit into
softdevteam:masterfrom
ltratt:clippy_fixes

Conversation

@ltratt

@ltratt ltratt commented Jul 16, 2026

Copy link
Copy Markdown
Member

I'm not super keen on BITS as usize, but it is clearer than size_of<...> * 8, and the alternative is
usize::try_from(iX::BITS).unwrap() which is objectionable in other ways.

I'm not super keen on `BITS as usize`, but it is clearer than
`size_of<...> * 8`, and the alternative is
`usize::try_from(iX::BITS).unwrap()` which is objectionable in other
ways.
@ratmice
ratmice added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
@ltratt

ltratt commented Jul 16, 2026

Copy link
Copy Markdown
Member Author

@ratmice Hopefully this one will go through now.

@ratmice
ratmice added this pull request to the merge queue Jul 16, 2026
Merged via the queue into softdevteam:master with commit 84a7fcf Jul 16, 2026
2 checks passed
@ltratt
ltratt deleted the clippy_fixes branch July 16, 2026 09:59
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