Skip to content

Commit 56bb6f5

Browse files
committed
Fix docs for uX::checked_next_multiple_of
1 parent 371f3cd commit 56bb6f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/src/num/uint_macros.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,8 @@ macro_rules! uint_impl {
19271927
}
19281928

19291929
/// Calculates the smallest value greater than or equal to `self` that
1930-
/// is a multiple of `rhs`. If `rhs` is negative,
1930+
/// is a multiple of `rhs`. Returns `None` is `rhs` is zero or the
1931+
/// operation would result in overflow.
19311932
///
19321933
/// # Examples
19331934
///

0 commit comments

Comments
 (0)