mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 18:42:26 +03:00
perf: remove a redundant clone
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
5fc4179e20
commit
c62337e1fe
@ -179,7 +179,7 @@ macro_rules! div_int_impl {
|
||||
// Set the least-significant bit of remainder to bit i of the numerator
|
||||
let r_new = r.add(
|
||||
&mut cs.ns(|| format!("set_remainder_bit_{}", i)),
|
||||
&one.clone(),
|
||||
&one,
|
||||
)?;
|
||||
|
||||
r = Self::conditionally_select(
|
||||
|
Loading…
Reference in New Issue
Block a user