From 1e7588cf529a840f2b2da3f4ada891b1dace47d3 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 15 Feb 2022 15:22:42 -0500 Subject: [PATCH] Add messages to some todo items --- src/bigint.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bigint.rs b/src/bigint.rs index 3d93d91..d3c4ee2 100644 --- a/src/bigint.rs +++ b/src/bigint.rs @@ -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") } }