Skip to content

Commit

Permalink
Fixing clippy IntoIterator warnings (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlewi authored Sep 20, 2023
1 parent ee91c97 commit c0162ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
key: taplo

- name: Install Taplo
run: cargo install taplo-cli
run: cargo install taplo-cli --locked

- name: Checkout sources
uses: actions/checkout@v3
Expand Down
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 c0162ec

Please sign in to comment.