Skip to content

Commit

Permalink
Fixing clippy IntoIterator warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlewi committed Sep 19, 2023
1 parent ee91c97 commit 88fa2d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/poprf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ where
)?;

Ok(blinds
.zip(messages.into_iter())
.zip(messages)
.map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind)))
}

Expand Down
2 changes: 1 addition & 1 deletion src/voprf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ where
)?;

Ok(blinds
.zip(messages.into_iter())
.zip(messages)
.map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind)))
}

Expand Down

0 comments on commit 88fa2d8

Please sign in to comment.