AEAD: Silenceclippy::large_enum_variant
.
This commit is contained in:
parent
deb6bd9fb9
commit
26ed1b7adc
@ -398,7 +398,7 @@ impl core::fmt::Debug for UnboundKey {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(variant_size_differences)]
|
||||
#[allow(clippy::large_enum_variant, variant_size_differences)]
|
||||
enum KeyInner {
|
||||
AesGcm(aes_gcm::Key),
|
||||
ChaCha20Poly1305(chacha20_poly1305::Key),
|
||||
|
@ -28,7 +28,7 @@ pub struct HeaderProtectionKey {
|
||||
algorithm: &'static Algorithm,
|
||||
}
|
||||
|
||||
#[allow(variant_size_differences)]
|
||||
#[allow(clippy::large_enum_variant, variant_size_differences)]
|
||||
enum KeyInner {
|
||||
Aes(aes::Key),
|
||||
ChaCha20(chacha::Key),
|
||||
|
Loading…
x
Reference in New Issue
Block a user