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:
Valentin Mihov
2024-09-26 00:03:34 +03:00
committed by GitHub
parent e00828bd03
commit 79c00fcedb
6 changed files with 0 additions and 6 deletions

View File

@@ -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;

View File

@@ -118,7 +118,6 @@ where
}
#[async_trait]
#[allow(clippy::blocks_in_conditions)]
impl<C, E> BlockCipher<C> for MpcBlockCipher<C, E>
where
C: BlockCipherCircuit,

View File

@@ -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,

View File

@@ -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,

View File

@@ -260,7 +260,6 @@ where
}
#[async_trait]
#[allow(clippy::blocks_in_conditions)]
impl<C, E> StreamCipher<C> for MpcStreamCipher<C, E>
where
C: CtrCircuit,

View File

@@ -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,