Skip to content

Commit

Permalink
Fixing clippy IntoIterator warnings (facebook#123)
Browse files Browse the repository at this point in the history
(cherry picked from commit c0162ec)
  • Loading branch information
kevinlewi authored and cyyynthia committed Sep 22, 2024
1 parent f399c96 commit 24eddd5
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 @@ -724,7 +724,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 24eddd5

Please sign in to comment.