From b21883c32152c844472e53d6412d3989c89a31db Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Fri, 23 Sep 2022 11:05:09 -0700 Subject: [PATCH] fmt --- plonky2/examples/square_root.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plonky2/examples/square_root.rs b/plonky2/examples/square_root.rs index 07f1d230..86d53271 100644 --- a/plonky2/examples/square_root.rs +++ b/plonky2/examples/square_root.rs @@ -3,7 +3,7 @@ use std::marker::PhantomData; use anyhow::Result; use plonky2::field::types::Field; use plonky2::hash::hash_types::RichField; -use plonky2::iop::generator::{SimpleGenerator, GeneratedValues}; +use plonky2::iop::generator::{GeneratedValues, SimpleGenerator}; use plonky2::iop::target::Target; use plonky2::iop::witness::{PartialWitness, PartitionWitness, Witness}; use plonky2::plonk::circuit_builder::CircuitBuilder; @@ -18,8 +18,7 @@ struct SquareGenerator, const D: usize> { _phantom: PhantomData, } -impl, const D: usize> SimpleGenerator for SquareGenerator -{ +impl, const D: usize> SimpleGenerator for SquareGenerator { fn dependencies(&self) -> Vec { vec![self.x] }