Skip to content

Commit

Permalink
apply suggestions from code review
Browse files Browse the repository at this point in the history
iter -> into_iter
  • Loading branch information
mmagician committed Sep 29, 2023
1 parent afd0709 commit fe78ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ pub trait PolynomialCommitment<F: PrimeField, P: Polynomial<F>, S: Cryptographic

let poly_evals = Evaluations::from_iter(
sorted_by_poly_and_query_label
.iter()
.into_iter()
.zip(evals.clone().unwrap())
.map(|(((poly_label, point), _query_label), eval)| {
((poly_label, point), eval)
Expand Down

0 comments on commit fe78ab8

Please sign in to comment.