docs: Fix argument names for carrying_mul_add

This commit is contained in:
Shun Sakai
2025-10-31 14:42:03 +09:00
parent 647f1536d2
commit c5b30c3b97
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.