From 3cb1ed06d629b20a949ba79e0219e673c8723d80 Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Fri, 28 Feb 2020 18:17:02 -0800 Subject: [PATCH] Fix linter errors --- r1cs-std/src/fields/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;