From af2c62feacbb35f0d46e57596bdc7c56694fb771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ci=C4=99=C5=BCarkiewicz?= Date: Mon, 30 May 2022 18:51:14 -0700 Subject: [PATCH] Update src/consensus/encode.rs Co-authored-by: Tobin C. Harding --- src/consensus/encode.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consensus/encode.rs b/src/consensus/encode.rs index 459cb32e3c..f70854055e 100644 --- a/src/consensus/encode.rs +++ b/src/consensus/encode.rs @@ -651,7 +651,7 @@ struct ReadBytesFromFiniteReaderOpts { /// Read `len` bytes from reader, where `len` could potentially be malicious /// -/// This function relies on `reader` being bound in amount of data +/// This function relies on reader being bound in amount of data /// it returns for OOM protection. See [`Decodable::consensus_decode_from_finite_reader`]. #[inline] fn read_bytes_from_finite_reader(mut d: D, mut opts: ReadBytesFromFiniteReaderOpts) -> Result, Error> {