Skip to content

Commit c0ae3e7

Browse files
committed
fix formatting on master
1 parent 17c8751 commit c0ae3e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/key.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ impl PartialEq for SecretKey {
7171
/// This implementation is designed to be constant time to help prevent side channel attacks.
7272
#[inline]
7373
fn eq(&self, other: &Self) -> bool {
74-
let accum = self.0.iter().zip(&other.0)
75-
.fold(0, |accum, (a, b)| accum | a ^ b);
74+
let accum = self.0.iter().zip(&other.0).fold(0, |accum, (a, b)| accum | a ^ b);
7675
unsafe { core::ptr::read_volatile(&accum) == 0 }
7776
}
7877
}

0 commit comments

Comments
 (0)