mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
chore: Remove clippy::blocks_in_conditions (#592)
The bug in clippy is fixed in rust 1.81, so these are not needed any more Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,6 @@ impl<Ctx: Context> MpcAesGcm<Ctx> {
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
impl<Ctx: Context> Aead for MpcAesGcm<Ctx> {
|
||||
type Error = AesGcmError;
|
||||
|
||||
|
||||
@@ -118,7 +118,6 @@ where
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
impl<C, E> BlockCipher<C> for MpcBlockCipher<C, E>
|
||||
where
|
||||
C: BlockCipherCircuit,
|
||||
|
||||
@@ -222,7 +222,6 @@ where
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
impl<E> Prf for MpcPrf<E>
|
||||
where
|
||||
E: Memory + Load + Execute + Decode + Send,
|
||||
|
||||
@@ -200,7 +200,6 @@ where
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
impl<Ctx, C0, C1, E> KeyExchange for MpcKeyExchange<Ctx, C0, C1, E>
|
||||
where
|
||||
Ctx: Context,
|
||||
|
||||
@@ -260,7 +260,6 @@ where
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
impl<C, E> StreamCipher<C> for MpcStreamCipher<C, E>
|
||||
where
|
||||
C: CtrCircuit,
|
||||
|
||||
@@ -89,7 +89,6 @@ impl<C, Ctx> Debug for Ghash<C, Ctx> {
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
impl<Ctx, C> UniversalHash for Ghash<C, Ctx>
|
||||
where
|
||||
Ctx: Context,
|
||||
|
||||
Reference in New Issue
Block a user