Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangxiecrypto committed Jan 3, 2024
1 parent 0041f3e commit 868ecc5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ot/mpz-ot-core/src/ideal/ideal_spcot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,10 @@ impl IdealSpcot {
v[*p as usize] ^= self.delta;
});

let res = v.iter().zip(w.iter()).all(|(v,w)|{
v.iter().zip(w.iter()).all(|(x,y)|{
*x == *y
})
});
let res = v
.iter()
.zip(w.iter())
.all(|(v, w)| v.iter().zip(w.iter()).all(|(x, y)| *x == *y));
res
}
}
Expand Down

0 comments on commit 868ecc5

Please sign in to comment.