mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-10 16:01:28 +01:00
Fix linter errors
This commit is contained in:
committed by
Pratyush Mishra
parent
77837b4a1b
commit
3cb1ed06d6
@@ -1,4 +1,4 @@
|
|||||||
use algebra::{Field, fields::BitIterator};
|
use algebra::{fields::BitIterator, Field};
|
||||||
use core::fmt::Debug;
|
use core::fmt::Debug;
|
||||||
use r1cs_core::{ConstraintSystem, SynthesisError};
|
use r1cs_core::{ConstraintSystem, SynthesisError};
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ pub trait FieldGadget<F: Field, ConstraintF: Field>:
|
|||||||
fn pow_by_constant<S: AsRef<[u64]>, CS: ConstraintSystem<ConstraintF>>(
|
fn pow_by_constant<S: AsRef<[u64]>, CS: ConstraintSystem<ConstraintF>>(
|
||||||
&self,
|
&self,
|
||||||
mut cs: CS,
|
mut cs: CS,
|
||||||
exp: S
|
exp: S,
|
||||||
) -> Result<Self, SynthesisError> {
|
) -> Result<Self, SynthesisError> {
|
||||||
let mut res = Self::one(cs.ns(|| "Alloc result"))?;
|
let mut res = Self::one(cs.ns(|| "Alloc result"))?;
|
||||||
let mut found_one = false;
|
let mut found_one = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user