Add messages to some todo items
timw4mail/rusty-numbers/pipeline/head This commit looks good Details

This commit is contained in:
Timothy Warren 2022-02-15 15:22:42 -05:00
parent 52ce18b897
commit 1e7588cf52
1 changed files with 3 additions and 3 deletions

View File

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