We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I think Clippy should suggest to replace integer rotations like:
pub fn rol24a(x: u32) -> u32 { (x >> 8) | (x << 24) }
With calls to rotation methods rotate_right or rotate_left:
rotate_right
rotate_left
pub fn rol24b(x: u32) -> u32 { x.rotate_right(8) }