Skip to content

Commit

Permalink
rebase & silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmMichaelConnor committed Oct 3, 2024
1 parent 1bdce74 commit 523f2e6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/fields/mod.nr
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ pub mod U2048;
pub mod U4096;
pub mod U8192;

use crate::bignum::BigNum;
use bn254Fq::BN254_Fq_Params;

// example typedef when using a defined bignum instance
type Fq = BigNum<3, BN254_Fq_Params>;

// example typedef when using a defined bignum instance:
//
// use crate::bignum::BigNum;
// use bn254Fq::BN254_Fq_Params;
//
// type Fq = BigNum<3, BN254_Fq_Params>;

0 comments on commit 523f2e6

Please sign in to comment.