Skip to content

Commit a38c6f3

Browse files
committed
cargo clippy --fix
1 parent fe375dd commit a38c6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/group/msm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ fn msm_internal<G: PrimeGroup>(bases: &[G], scalars: &[G::Scalar]) -> G {
8484
window_buckets.push((window, vec![G::identity(); buckets_num]));
8585
}
8686

87-
for (scalar, base) in scalars.into_iter().zip(bases) {
87+
for (scalar, base) in scalars.iter().zip(bases) {
8888
for (w, bucket) in window_buckets.iter_mut() {
8989
let scalar_repr = scalar.to_repr();
9090
let scalar_bytes = scalar_repr.as_ref();

0 commit comments

Comments
 (0)