From: Matt Corallo Date: Mon, 31 May 2021 23:37:58 +0000 (+0000) Subject: f X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=cff6abf3996977b9aaae2de4d66d5d1b70d64ae9;p=rust-lightning f --- diff --git a/lightning/src/util/ser.rs b/lightning/src/util/ser.rs index 06578b9fb..a49b033db 100644 --- a/lightning/src/util/ser.rs +++ b/lightning/src/util/ser.rs @@ -260,6 +260,7 @@ impl<'a, T: Writeable> Writeable for VecWriteWrapper<'a, T> { Ok(()) } } + /// Wrapper to read elements from a given stream until it reaches the end of the stream. pub(crate) struct VecReadWrapper(pub Vec); impl Readable for VecReadWrapper {