Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
delta4chat committed Nov 11, 2024
1 parent b3ccdaf commit f72b6b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion quinn-udp/src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,12 @@ fn send(state: &UdpSocketState, io: SockRef<'_>, transmit: &Transmit<'_>) -> io:
Ok(())
}

#[cfg(not(any(apple, target_os = "openbsd", target_os = "netbsd", target_os = "solaris")))]
#[cfg(not(any(
apple,
target_os = "openbsd",
target_os = "netbsd",
target_os = "solaris"
)))]
fn recv(io: SockRef<'_>, bufs: &mut [IoSliceMut<'_>], meta: &mut [RecvMeta]) -> io::Result<usize> {
let mut names = [MaybeUninit::<libc::sockaddr_storage>::uninit(); BATCH_SIZE];
let mut ctrls = [cmsg::Aligned(MaybeUninit::<[u8; CMSG_LEN]>::uninit()); BATCH_SIZE];
Expand Down

0 comments on commit f72b6b7

Please sign in to comment.