Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Oct 15, 2024
1 parent 682537a commit faa5e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stdlib/tests/crypto/fri/verifier_fri_e2f4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ impl UnBatch<QuadExt, MidenHasher> for MidenFriVerifierChannel<QuadExt, MidenHas

let layer_proof = layer_proofs.remove(0);

let x = group_slice_elements::<QuadExt, N>(&query);
let x = group_slice_elements::<QuadExt, N>(query);
let leaves: Vec<RpoDigest> =
x.iter().map(|row| MidenHasher::hash_elements(row)).collect();
let unbatched_proof = layer_proof.into_openings(&leaves, &folded_positions).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion stdlib/tests/crypto/stark/verifier_recursive/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ pub fn unbatch_to_partial_mt(
queries: Vec<Vec<Felt>>,
proof: BatchMerkleProof<Rpo256>,
) -> (PartialMerkleTree, Vec<(RpoDigest, Vec<Felt>)>) {
let leaves: Vec<RpoDigest> = queries.iter().map(|row| Rpo256::hash_elements(&row)).collect();
let leaves: Vec<RpoDigest> = queries.iter().map(|row| Rpo256::hash_elements(row)).collect();

let unbatched_proof = proof.into_openings(&leaves, &positions).unwrap();
let mut adv_key_map = Vec::new();
Expand Down

0 comments on commit faa5e41

Please sign in to comment.