mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
docs: Fix argument names for carrying_mul_add
This commit is contained in:
@@ -2705,7 +2705,7 @@ pub const fn carrying_mul(self, rhs: Self, carry: Self) -> ($UnsignedT, Self) {
|
||||
Self::carrying_mul_add(self, rhs, carry, 0)
|
||||
}
|
||||
|
||||
/// Calculates the "full multiplication" `self * rhs + carry1 + carry2`
|
||||
/// Calculates the "full multiplication" `self * rhs + carry + add`
|
||||
/// without the possibility to overflow.
|
||||
///
|
||||
/// This returns the low-order (wrapping) bits and the high-order (overflow) bits
|
||||
|
||||
@@ -3000,7 +3000,7 @@ pub const fn carrying_mul(self, rhs: Self, carry: Self) -> (Self, Self) {
|
||||
Self::carrying_mul_add(self, rhs, carry, 0)
|
||||
}
|
||||
|
||||
/// Calculates the "full multiplication" `self * rhs + carry1 + carry2`.
|
||||
/// Calculates the "full multiplication" `self * rhs + carry + add`.
|
||||
///
|
||||
/// This returns the low-order (wrapping) bits and the high-order (overflow) bits
|
||||
/// of the result as two separate values, in that order.
|
||||
|
||||
Reference in New Issue
Block a user