mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-27 03:21:49 +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
|
// Set the least-significant bit of remainder to bit i of the numerator
|
||||||
let r_new = r.add(
|
let r_new = r.add(
|
||||||
&mut cs.ns(|| format!("set_remainder_bit_{}", i)),
|
&mut cs.ns(|| format!("set_remainder_bit_{}", i)),
|
||||||
&one.clone(),
|
&one,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
r = Self::conditionally_select(
|
r = Self::conditionally_select(
|
||||||
|
Loading…
Reference in New Issue
Block a user