Skip to content

Commit

Permalink
remove useless parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeconinck committed Jan 10, 2024
1 parent 28dc580 commit 811991c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/src/recvfrom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fn recvmsg(
let mut iov = IoSliceMut::new(buf);
let mut name = MaybeUninit::<libc::sockaddr_storage>::uninit();
let mut ctrl = cmsg::Aligned(MaybeUninit::<
[u8; (std::mem::size_of::<libc::in6_pktinfo>() as _)],
[u8; std::mem::size_of::<libc::in6_pktinfo>() as _],
>::uninit());
let mut hdr = unsafe { std::mem::zeroed::<libc::msghdr>() };

Expand Down

0 comments on commit 811991c

Please sign in to comment.