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() );