manual-div-ceil Prefer divideCeil over an adjusted integer numerator Adding one less than the divisor before integer division manually computes a ceiling quotient and may overflow the intermediate sum. Instead, you SHOULD call .divideCeil() on the dividend. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function chunks(length: uint32, width: uint32): uint32 { return (length + width - 1) / width; } Accepted function chunks(length: uint32, width: uint32): uint32 { return length.divideCeil(width); } Prior art - Clippy ยท manualdivceil language/linter/src/rules/style/manualdivceil.rs:8