Skip to content

Commit

Permalink
Correction for new Rust clippy lint
Browse files Browse the repository at this point in the history
Signed-off-by: Rod Chapman <[email protected]>
  • Loading branch information
rod-chapman committed Jul 25, 2024
1 parent 3f62624 commit 1de1f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/s2n-tls/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ impl Connection {
/// Safety: this function is always safe to call, and additionally:
/// 1. It will never deinitialize any bytes in `buf`.
/// 2. If it returns `Ok(n)`, then the first `n` bytes of `buf`
/// will have been initialized by this function.
/// will have been initialized by this function.
pub fn poll_recv_uninitialized(
&mut self,
buf: &mut [MaybeUninit<u8>],
Expand Down

0 comments on commit 1de1f3e

Please sign in to comment.