Skip to content

Commit

Permalink
Poseidon/tests: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Feb 4, 2025
1 parent 010d8fa commit 27404af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poseidon/tests/poseidon_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ fn test_poseidon_challenge_multiple_times_without_absorbtion() {
let mut challenges: Vec<_> = vec![];

for i in 0..random_n {
old_state = new_state.clone();
new_state = sponge.sponge.state.clone();
old_state.clone_from(&new_state);
new_state.clone_from(&sponge.sponge.state);
let chal = sponge.challenge();
if i % 2 == 0 {
assert_eq!(
Expand Down

0 comments on commit 27404af

Please sign in to comment.