Remove a few unnecessary clones

This commit is contained in:
François Garillot
2019-12-02 07:26:52 -08:00
committed by Pratyush Mishra
parent d71bc5a675
commit c42c7dd98a
5 changed files with 10 additions and 10 deletions

View File

@@ -76,8 +76,8 @@ impl<P: Fp2Parameters<Fp = ConstraintF>, ConstraintF: PrimeField> FieldGadget<Fp
#[inline]
fn get_variable(&self) -> Self::Variable {
(
self.c0.get_variable().clone(),
self.c1.get_variable().clone(),
self.c0.get_variable(),
self.c1.get_variable(),
)
}