manual-rotate Prefer integer rotation operations over equivalent shift expressions Combining complementary shifts of one unsigned integer with bitwise OR performs a bit rotation. Instead, you SHOULD call .rotateLeft() or .rotateRight() with the corresponding amount. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function rotate(value: uint32): uint32 { return (value >> 8) | (value << 24); } Accepted function rotate(value: uint32): uint32 { return value.rotateRight(8); } Prior art - Clippy ยท manualrotate language/linter/src/rules/style/manualrotate.rs:8