Browse Source

uses core instead of std

master
Kobi Gurkan 4 years ago
committed by Pratyush Mishra
parent
commit
bd86eb4563
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      r1cs-std/src/cmp.rs

+ 1
- 1
r1cs-std/src/cmp.rs

@ -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>,

Loading…
Cancel
Save