Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubarov committed Jun 20, 2023
1 parent 9da8629 commit 086fd65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion air/src/air.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub trait PermutationAirBuilder: AirBuilder {
let xb = xe.as_base_slice();
let yb = ye.as_base_slice();
for i in 0..Self::EF::D {
self.assert_eq(xb[i].clone(), yb[i].clone());
self.assert_eq(xb[i], yb[i]);
}
}

Expand Down
4 changes: 2 additions & 2 deletions merkle-tree/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ mod tests {
type C = TruncatedPermutation<u8, KeccakF, 2, 32, 200>;
let compress = C::new(KeccakF);

type MMCS = MerkleTreeMMCS<u8, [u8; 32], Keccak256Hash, C>;
let mmcs = MMCS::new(Keccak256Hash, compress);
type Mmcs = MerkleTreeMMCS<u8, [u8; 32], Keccak256Hash, C>;
let mmcs = Mmcs::new(Keccak256Hash, compress);

let mut rng = thread_rng();

Expand Down

0 comments on commit 086fd65

Please sign in to comment.