From f652088bc33f4d64a85afcca20b94e3cde3f6f3d Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Tue, 26 Sep 2023 11:14:46 -0700 Subject: [PATCH] cleanup --- src/gates/subtraction_u32.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gates/subtraction_u32.rs b/src/gates/subtraction_u32.rs index 74ce2ba..a0e3a0e 100644 --- a/src/gates/subtraction_u32.rs +++ b/src/gates/subtraction_u32.rs @@ -201,7 +201,7 @@ impl, const D: usize> Gate for U32Subtraction fn generators(&self, row: usize, _local_constants: &[F]) -> Vec> { (0..self.num_ops) .map(|i| { - let g = WitnessGeneratorRef::new( + WitnessGeneratorRef::new( U32SubtractionGenerator { gate: *self, row, @@ -209,8 +209,7 @@ impl, const D: usize> Gate for U32Subtraction _phantom: PhantomData, } .adapter(), - ); - g + ) }) .collect() }