mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
clippy: fix error from manual_div_ceil lint
This commit is contained in:
committed by
Sylvestre Ledru
parent
55021afb69
commit
5cb273eecb
@@ -401,7 +401,7 @@ fn format_directive<'entry>(
|
||||
// even though it's arguably not 100% correct.
|
||||
if *large_blocks {
|
||||
// Ceiling divide in half.
|
||||
(blocks + 1) / 2
|
||||
blocks.div_ceil(2)
|
||||
} else {
|
||||
blocks
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user