fix MSRV for div_ceil

This commit is contained in:
Terts Diepraam
2023-11-03 21:09:47 +01:00
parent 925b080d09
commit b6d8ba188f
+1 -1
View File
@@ -312,7 +312,7 @@ impl<T: AsRef<str>> fmt::Display for Grid<T> {
// Adapted from the unstable API:
// https://doc.rust-lang.org/std/primitive.usize.html#method.div_ceil
// Can be removed on MSRV 1.70.
// Can be removed on MSRV 1.73.
/// Division with upward rounding
pub const fn div_ceil(lhs: usize, rhs: usize) -> usize {
let d = lhs / rhs;