Remove outdated allow(unused)
authorValentine Wallace <vwallace@protonmail.com>
Fri, 21 Oct 2022 19:08:04 +0000 (15:08 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Mon, 24 Oct 2022 19:00:03 +0000 (15:00 -0400)
lightning/src/util/chacha20poly1305rfc.rs

index 1b75648019ae52f916f303b92017508d429a4c08..552226ca3e64121569cd2ff65589152255db9c05 100644 (file)
@@ -228,7 +228,6 @@ impl<'a, T: Writeable> Writeable for ChaChaPolyWriteAdapter<'a, T> {
 /// Enables the use of the serialization macros for objects that need to be simultaneously decrypted and
 /// deserialized. This allows us to avoid an intermediate Vec allocation.
 pub(crate) struct ChaChaPolyReadAdapter<R: Readable> {
-       #[allow(unused)] // This will be used soon for onion messages
        pub readable: R,
 }