diff --git a/aead/src/lib.rs b/aead/src/lib.rs index fad6d178..09788d88 100644 --- a/aead/src/lib.rs +++ b/aead/src/lib.rs @@ -477,7 +477,6 @@ fn into_out_buf2<'out>(buf: InOutBufReserved<'_, 'out, u8>) -> &'out mut [u8] { /// /// If you don't care about AAD, you can pass a `&[u8]` as the payload to /// `encrypt`/`decrypt` and it will automatically be coerced to this type. -#[cfg(feature = "alloc")] #[derive(Debug)] pub struct Payload<'msg, 'aad> { /// Message to be encrypted/decrypted