From: Valentine Wallace Date: Fri, 21 Oct 2022 19:08:04 +0000 (-0400) Subject: Remove outdated allow(unused) X-Git-Tag: v0.0.113~63^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=20eecd5a768fef491104fa18cf509b25f5ad1877;p=rust-lightning Remove outdated allow(unused) --- diff --git a/lightning/src/util/chacha20poly1305rfc.rs b/lightning/src/util/chacha20poly1305rfc.rs index 1b7564801..552226ca3 100644 --- a/lightning/src/util/chacha20poly1305rfc.rs +++ b/lightning/src/util/chacha20poly1305rfc.rs @@ -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 { - #[allow(unused)] // This will be used soon for onion messages pub readable: R, }