Skip to content

Commit

Permalink
inout: fix InOutBufReserved::get_out_len (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Feb 4, 2025
1 parent 9d92d5e commit a984ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inout/src/reserved.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl<T> 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
Expand Down

0 comments on commit a984ec9

Please sign in to comment.