Skip to content

Commit 884f8b6

Browse files
committed
remove redundant where blocks
1 parent 67d9f8a commit 884f8b6

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

turbo-shake/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl<Rate: BlockSizes, const DS: u8> Default for TurboShake<Rate, DS> {
5454
}
5555
}
5656

57-
impl<Rate: BlockSizes, const DS: u8> HashMarker for TurboShake<Rate, DS> where Rate: BlockSizes {}
57+
impl<Rate: BlockSizes, const DS: u8> HashMarker for TurboShake<Rate, DS> {}
5858

5959
impl<Rate: BlockSizes, const DS: u8> BlockSizeUser for TurboShake<Rate, DS> {
6060
type BlockSize = Rate;
@@ -160,10 +160,7 @@ impl<Rate: BlockSizes, const DS: u8> fmt::Debug for TurboShake<Rate, DS> {
160160
}
161161

162162
#[cfg(feature = "zeroize")]
163-
impl<Rate: BlockSizes, const DS: u8> digest::zeroize::ZeroizeOnDrop for TurboShake<Rate, DS> where
164-
Rate: BlockSizes
165-
{
166-
}
163+
impl<Rate: BlockSizes, const DS: u8> digest::zeroize::ZeroizeOnDrop for TurboShake<Rate, DS> {}
167164

168165
/// Generic TurboSHAKE XOF reader
169166
#[derive(Clone)]

0 commit comments

Comments
 (0)