Skip to content

Commit b49288d

Browse files
Cosmetic
1 parent 99dc94e commit b49288d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ceno_zkvm/src/scheme.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use ff_ext::ExtensionField;
2-
use itertools::Itertools;
32
use mpcs::PolynomialCommitmentScheme;
43
use serde::{Deserialize, Serialize};
54
use std::{collections::BTreeMap, fmt::Debug};
@@ -133,15 +132,15 @@ impl<E: ExtensionField, PCS: PolynomialCommitmentScheme<E>> ZKVMProof<E, PCS> {
133132
.iter()
134133
.map(|pv| {
135134
if pv.len() == 1 {
136-
// this is constant poly, and always evaluate to same constant value
135+
// this is constant poly, and always evaluates to same constant value
137136
E::from(pv[0])
138137
} else {
139-
// set 0 as placeholder. will be evaluate lazily
138+
// set 0 as placeholder. will be evaluated lazily
140139
// Or the vector is empty, i.e. the constant 0 polynomial.
141140
E::ZERO
142141
}
143142
})
144-
.collect_vec();
143+
.collect();
145144
Self {
146145
raw_pi,
147146
pi_evals,

0 commit comments

Comments
 (0)