Skip to content

Commit

Permalink
remove superfluous .into_iter() in generated constraint code
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Sep 16, 2023
1 parent be168ef commit 3331a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constraint-evaluation-generator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ fn tokenize_circuits<II: InputIndicator>(
base_constraints
.into_iter()
.map(|bfe| bfe.lift())
.chain(ext_constraints.into_iter())
.chain(ext_constraints)
.collect()
);

Expand All @@ -511,7 +511,7 @@ fn tokenize_circuits<II: InputIndicator>(
let ext_constraints = [#(#tokenized_ext_constraints),*];
base_constraints
.into_iter()
.chain(ext_constraints.into_iter())
.chain(ext_constraints)
.collect()
);

Expand Down

0 comments on commit 3331a8d

Please sign in to comment.