From e3501427d8d5eab795c9c8cec62b574782e7f1ff Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 16 Oct 2023 13:22:59 +0200 Subject: [PATCH] clippy: mutability fixup Signed-off-by: Wolfgang Bumiller --- src/io/seq_packet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/seq_packet.rs b/src/io/seq_packet.rs index 14b7313..bb00930 100644 --- a/src/io/seq_packet.rs +++ b/src/io/seq_packet.rs @@ -116,7 +116,7 @@ impl SeqPacketSocket { let mut msg = AssertSendSync(libc::msghdr { msg_name: ptr::null_mut(), msg_namelen: 0, - msg_iov: iov.as_ptr() as _, + msg_iov: iov.as_mut_ptr() as _, msg_iovlen: iov.len(), msg_control: cmsg_buf.as_mut_ptr() as *mut std::ffi::c_void, msg_controllen: cmsg_buf.len(),