mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-10 16:01:28 +01:00
uses core instead of std
This commit is contained in:
committed by
Pratyush Mishra
parent
b0f266de1e
commit
bd86eb4563
@@ -4,8 +4,8 @@ use crate::{
|
|||||||
ToBitsGadget,
|
ToBitsGadget,
|
||||||
};
|
};
|
||||||
use algebra::PrimeField;
|
use algebra::PrimeField;
|
||||||
|
use core::{cmp::Ordering, marker::PhantomData};
|
||||||
use r1cs_core::{ConstraintSystem, SynthesisError};
|
use r1cs_core::{ConstraintSystem, SynthesisError};
|
||||||
use std::{cmp::Ordering, marker::PhantomData};
|
|
||||||
|
|
||||||
pub struct CmpGadget<ConstraintF: PrimeField> {
|
pub struct CmpGadget<ConstraintF: PrimeField> {
|
||||||
constraint_field_type: PhantomData<ConstraintF>,
|
constraint_field_type: PhantomData<ConstraintF>,
|
||||||
|
|||||||
Reference in New Issue
Block a user