perf: remove a redundant clone

Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
ljedrz 2020-10-21 13:45:42 +02:00
parent 5fc4179e20
commit c62337e1fe

View File

@ -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(