Skip to content

Commit

Permalink
Rollup merge of #88712 - jhpratt:fix-int_rounding-docs, r=joshtriplett
Browse files Browse the repository at this point in the history
Fix docs for `uX::checked_next_multiple_of`

Thanks to `@photino` for noticing this [here](#88581 (comment)).

r? `@joshtriplett`

`@rustbot` label: +A-docs +A-waiting-on-review
  • Loading branch information
jackh726 authored Sep 8, 2021
2 parents 7d51dae + 56bb6f5 commit bd6ce72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/core/src/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit bd6ce72

Please sign in to comment.