Skip to content

Commit

Permalink
try pass compile in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
loongs-zhang committed Feb 7, 2024
1 parent 9c42c32 commit ad20517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monoio/src/net/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl UdpSocket {
#[cfg(unix)]
let fd = SharedFd::new::<false>(socket.into_raw_fd())?;
#[cfg(windows)]
let fd = SharedFd::new::<false>(socket.into_raw_socket())?;
let fd = SharedFd::new(socket.into_raw_socket())?;

Ok(Self::from_shared_fd(fd))
}
Expand Down

0 comments on commit ad20517

Please sign in to comment.