Make future Clippy happier
As an attempt to reduce fixup!
s in the future, make the code more compliant with Clippy in Rust 1.66.
Due to incompatible newer lints that can't be pushed, I'll have to use this command to run Clippy locally:
cargo clippy -- -D warnings -A clippy::useless-transmute -A clippy::too-many-arguments