From cf3c8f343b307dc67c784ed1a0b7fa564269cf1c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 18 Feb 2026 21:15:09 +0100 Subject: [PATCH] fix another clippy warning --- src/nt_funcs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nt_funcs.rs b/src/nt_funcs.rs index 71b46f6..7c3def3 100644 --- a/src/nt_funcs.rs +++ b/src/nt_funcs.rs @@ -207,7 +207,7 @@ pub fn factorize64(target: u64) -> BTreeMap { } let mut exp: usize = 0; - while let Some(q) = residual.div_exact(p, &pinv) { + while let Some(q) = DivExact::div_exact(residual, p, &pinv) { exp += 1; residual = q; } @@ -361,7 +361,7 @@ pub fn factorize128(target: u128) -> BTreeMap { .skip(1) { let mut exp: usize = 0; - while let Some(q) = residual.div_exact(p, &pinv) { + while let Some(q) = DivExact::div_exact(residual, p, &pinv) { exp += 1; residual = q; }