diff --git a/src/cryptonum/mod.rs b/src/cryptonum/mod.rs index fc2521d..2034e9b 100644 --- a/src/cryptonum/mod.rs +++ b/src/cryptonum/mod.rs @@ -573,7 +573,7 @@ fn divmod(quotient: &mut Vec, remainder: &mut Vec, let n = x.contents.len(); let t = y.contents.len(); if n < t { - remainder.append(&mut x.contents); + remainder.extend_from_slice(&inx); return; } // Also, it's real convient for n and t to be greater than one, which we