Remove public visibility for internal function

This commit is contained in:
Julien Cretin
2020-10-26 17:51:40 +01:00
parent cb3369213f
commit 552bab6ba9

View File

@@ -795,7 +795,7 @@ pub fn is_erased(slice: &[u8]) -> bool {
/// Divides then takes ceiling. /// Divides then takes ceiling.
/// ///
/// Returns `ceil(x / m)` with mathematical notations. Assumes `x + m` does not overflow. /// Returns `ceil(x / m)` with mathematical notations. Assumes `x + m` does not overflow.
pub const fn div_ceil(x: usize, m: usize) -> usize { const fn div_ceil(x: usize, m: usize) -> usize {
(x + m - 1) / m (x + m - 1) / m
} }