From a984ec98edbf387aaded73b075b9b692b5b98880 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Tue, 4 Feb 2025 22:31:55 +0300 Subject: [PATCH] inout: fix `InOutBufReserved::get_out_len` (#1147) --- inout/src/reserved.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inout/src/reserved.rs b/inout/src/reserved.rs index 05ecf586..ee1be933 100644 --- a/inout/src/reserved.rs +++ b/inout/src/reserved.rs @@ -91,7 +91,7 @@ impl InOutBufReserved<'_, '_, T> { /// Get output buffer length. #[inline(always)] pub fn get_out_len(&self) -> usize { - self.in_len + self.out_len } /// Split buffer into `InOutBuf` with input length and mutable slice pointing to