Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Nov 19, 2021
1 parent 8a08dca commit 8884557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digest/src/mac.rs
Expand Up @@ -101,7 +101,7 @@ impl<T: KeyInit + Update + FixedOutput + MacMarker> Mac for T {
if n != Self::OutputSize::USIZE {
return Err(MacError);
}
let choice = self.finalize_fixed().ct_eq(&tag);
let choice = self.finalize_fixed().ct_eq(tag);
if choice.unwrap_u8() == 1 {
Ok(())
} else {
Expand Down

0 comments on commit 8884557

Please sign in to comment.