Fixing clippy IntoIterator warnings (#123)

This commit is contained in:
Kevin Lewi
2023-09-20 01:48:44 -07:00
committed by GitHub
parent ee91c9776c
commit c0162ec8d9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ jobs:
key: taplo key: taplo
- name: Install Taplo - name: Install Taplo
run: cargo install taplo-cli run: cargo install taplo-cli --locked
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v3 uses: actions/checkout@v3
+1 -1
View File
@@ -720,7 +720,7 @@ where
)?; )?;
Ok(blinds Ok(blinds
.zip(messages.into_iter()) .zip(messages)
.map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind))) .map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind)))
} }
+1 -1
View File
@@ -537,7 +537,7 @@ where
)?; )?;
Ok(blinds Ok(blinds
.zip(messages.into_iter()) .zip(messages)
.map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind))) .map(|(blind, x)| x.0 * &CS::Group::invert_scalar(blind)))
} }