Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Fix cargo fmt suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
nullbitx8 committed Oct 20, 2023
1 parent a0dfad6 commit 61f9845
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/factorial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ use halo2_proofs::{dev::MockProver, halo2curves::bn256::Fr};
const MAX_FACTORIAL: usize = 10;

fn generate<F: Field + From<u64> + Hash>() -> (Circuit<F>, Option<AssignmentGenerator<F, u32>>) {
//
// table for the circuit:
// | step_type | i | x |
// ----------------------------------
Expand Down Expand Up @@ -149,7 +148,7 @@ fn main() {

// plaf boilerplate
use chiquito::plonkish::backend::plaf::chiquito2Plaf;
use polyexen::plaf::{backends::halo2::PlafH2Circuit};
use polyexen::plaf::backends::halo2::PlafH2Circuit;

// get Chiquito ir
let (circuit, wit_gen) = generate::<Fr>();
Expand Down

0 comments on commit 61f9845

Please sign in to comment.