Add messages to some todo items
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2022-02-15 15:22:42 -05:00
parent 52ce18b897
commit 1e7588cf52

View File

@ -243,7 +243,7 @@ impl BigInt {
let (res, overflowed) = a.overflowing_mul(b);
if overflowed {
todo!()
todo!("Multiplication overflow not yet implemented")
} else {
let (res, overflowed) = res.overflowing_add(carry);
@ -372,7 +372,7 @@ impl Div for BigInt {
#[must_use]
fn div(self, _rhs: Self) -> Self::Output {
todo!()
todo!("Division is not yet implemented")
}
}
@ -381,7 +381,7 @@ impl Rem for BigInt {
#[must_use]
fn rem(self, _rhs: Self) -> Self::Output {
todo!()
todo!("Modulus is not yet implemented")
}
}