Address nits and tidy errors.
This commit is contained in:
parent
9255bbd035
commit
ece87c3f4e
3 changed files with 19 additions and 17 deletions
|
|
@ -331,9 +331,9 @@ impl f32 {
|
|||
|
||||
/// Calculates Euclidean division, the matching method for `mod_euc`.
|
||||
///
|
||||
/// This computes the integer n such that
|
||||
/// This computes the integer `n` such that
|
||||
/// `self = n * rhs + self.mod_euc(rhs)`.
|
||||
/// In other words, the result is `self / rhs` rounded to the integer n
|
||||
/// In other words, the result is `self / rhs` rounded to the integer `n`
|
||||
/// such that `self >= n * rhs`.
|
||||
///
|
||||
/// ```
|
||||
|
|
|
|||
|
|
@ -317,9 +317,9 @@ impl f64 {
|
|||
|
||||
/// Calculates Euclidean division, the matching method for `mod_euc`.
|
||||
///
|
||||
/// This computes the integer n such that
|
||||
/// This computes the integer `n` such that
|
||||
/// `self = n * rhs + self.mod_euc(rhs)`.
|
||||
/// In other words, the result is `self / rhs` rounded to the integer n
|
||||
/// In other words, the result is `self / rhs` rounded to the integer `n`
|
||||
/// such that `self >= n * rhs`.
|
||||
///
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue