Skip to content

Commit cfe2c9f

Browse files
committed
uucore: remove div_ceil() from sum feature
1 parent fc2f73b commit cfe2c9f

File tree

1 file changed

+0
-7
lines changed
  • src/uucore/src/lib/features

1 file changed

+0
-7
lines changed

src/uucore/src/lib/features/sum.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,6 @@ impl Digest for CRC {
207207
}
208208
}
209209

210-
// This can be replaced with usize::div_ceil once it is stabilized.
211-
// This implementation approach is optimized for when `b` is a constant,
212-
// particularly a power of two.
213-
pub fn div_ceil(a: usize, b: usize) -> usize {
214-
(a + b - 1) / b
215-
}
216-
217210
pub struct BSD {
218211
state: u16,
219212
}

0 commit comments

Comments
 (0)