Skip to content

Commit 081fe57

Browse files
committed
arithmetic: Address clippy::needless_borrow lint.
1 parent d0838ee commit 081fe57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arithmetic/bigint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,10 @@ fn elem_exp_consttime_inner<N, M, const STORAGE_LIMBS: usize>(
602602
let (acc, _) = limb::fold_5_bit_windows(
603603
exponent.limbs(),
604604
|initial_window| {
605-
gather(&table, &mut acc, initial_window);
605+
gather(table, &mut acc, initial_window);
606606
(acc, tmp)
607607
},
608-
|(acc, tmp), window| power(&table, acc, m, window, tmp),
608+
|(acc, tmp), window| power(table, acc, m, window, tmp),
609609
);
610610

611611
Ok(acc.into_unencoded(m))

0 commit comments

Comments
 (0)