1
Fork 0

Rollup merge of #88712 - jhpratt:fix-int_rounding-docs, r=joshtriplett

Fix docs for `uX::checked_next_multiple_of`

Thanks to `@photino` for noticing this [here](https://github.com/rust-lang/rust/issues/88581#issuecomment-913982246).

r? `@joshtriplett`

`@rustbot` label: +A-docs +A-waiting-on-review
This commit is contained in:
Jack Huey 2021-09-08 12:24:21 -04:00 committed by GitHub
commit bd6ce72ece
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1924,7 +1924,8 @@ macro_rules! uint_impl {
}
/// Calculates the smallest value greater than or equal to `self` that
/// is a multiple of `rhs`. If `rhs` is negative,
/// is a multiple of `rhs`. Returns `None` is `rhs` is zero or the
/// operation would result in overflow.
///
/// # Examples
///