Skip to content

Commit

Permalink
chore: Upgrade rust toolchain (microsoft#272)
Browse files Browse the repository at this point in the history
- Added `#[allow(clippy::map_identity)]` clause to the `verify` function in `src/provider/non_hiding_kzg.rs` to avoid Clippy's interference
- Upgraded the Rust toolchain to version `1.75` in `rust-toolchain.toml`.
- Closes microsoft#266
  • Loading branch information
huitseeker authored Jan 19, 2024
1 parent 61905bd commit 2858db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[toolchain]
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
profile = "default"
channel = "1.73"
channel = "1.75"
targets = [ "wasm32-unknown-unknown" ]

1 change: 1 addition & 0 deletions src/provider/non_hiding_kzg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ where
),
(proof.proof, verifier_param.beta_h.into()),
];
#[allow(clippy::map_identity)] // this does by_ref() on a tuple
let pairing_input_refs = pairing_inputs
.iter()
.map(|(a, b)| (a, b))
Expand Down

0 comments on commit 2858db1

Please sign in to comment.