manual-is-multiple-of Prefer isMultipleOf over a remainder comparison with zero Comparing an integer remainder with zero manually tests divisibility. Instead, you SHOULD call .isMultipleOf() on the dividend. A zero divisor returns true exactly when the dividend is zero. The smallest signed value with a divisor of -1 returns true without overflowing. - Category: style - Level: warning - Fix: suggestion - Scope: module Reported function aligned(value: uint32, alignment: uint32): boolean { return value % alignment === 0; } Accepted function aligned(value: uint32, alignment: uint32): boolean { return value.isMultipleOf(alignment); } Prior art - Clippy ยท manualismultipleof language/linter/src/rules/style/manualismultipleof.rs:8