diff --git a/r1cs-std/src/fields/mod.rs b/r1cs-std/src/fields/mod.rs index f9679c7..d92042f 100644 --- a/r1cs-std/src/fields/mod.rs +++ b/r1cs-std/src/fields/mod.rs @@ -1,4 +1,4 @@ -use algebra::{Field, fields::BitIterator}; +use algebra::{fields::BitIterator, Field}; use core::fmt::Debug; use r1cs_core::{ConstraintSystem, SynthesisError}; @@ -227,7 +227,7 @@ pub trait FieldGadget: fn pow_by_constant, CS: ConstraintSystem>( &self, mut cs: CS, - exp: S + exp: S, ) -> Result { let mut res = Self::one(cs.ns(|| "Alloc result"))?; let mut found_one = false;