Skip to content

Commit c0162ec

Browse files
authored
Fixing clippy IntoIterator warnings (#123)
1 parent ee91c97 commit c0162ec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
key: taplo
171171

172172
- name: Install Taplo
173-
run: cargo install taplo-cli
173+
run: cargo install taplo-cli --locked
174174

175175
- name: Checkout sources
176176
uses: actions/checkout@v3

src/poprf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ where
720720
)?;
721721

722722
Ok(blinds
723-
.zip(messages.into_iter())
723+
.zip(messages)
724724
.map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind)))
725725
}
726726

src/voprf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ where
537537
)?;
538538

539539
Ok(blinds
540-
.zip(messages.into_iter())
540+
.zip(messages)
541541
.map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind)))
542542
}
543543

0 commit comments

Comments
 (0)