From 3331a8daea64404f9d521a809d4e8d992479ff54 Mon Sep 17 00:00:00 2001 From: Jan Ferdinand Sauer Date: Sun, 17 Sep 2023 01:03:59 +0200 Subject: [PATCH] remove superfluous `.into_iter()` in generated constraint code --- constraint-evaluation-generator/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constraint-evaluation-generator/src/main.rs b/constraint-evaluation-generator/src/main.rs index 457f9c84d..9b7e93b00 100644 --- a/constraint-evaluation-generator/src/main.rs +++ b/constraint-evaluation-generator/src/main.rs @@ -501,7 +501,7 @@ fn tokenize_circuits( base_constraints .into_iter() .map(|bfe| bfe.lift()) - .chain(ext_constraints.into_iter()) + .chain(ext_constraints) .collect() ); @@ -511,7 +511,7 @@ fn tokenize_circuits( let ext_constraints = [#(#tokenized_ext_constraints),*]; base_constraints .into_iter() - .chain(ext_constraints.into_iter()) + .chain(ext_constraints) .collect() );