jiff::util::t

Function next_multiple_of

Source
const fn next_multiple_of(lhs: i128, rhs: i128) -> i128
Expand description

Computes the next multiple of rhs that is greater than or equal to lhs.

Taken from: https://github.com/rust-lang/rust/blob/eff958c59e8c07ba0515e164b825c9001b242294/library/core/src/num/int_macros.rs