Skip to content

Commit 168d063

Browse files
committed
Fix unused import for IoSliceMut for macos
1 parent d839df3 commit 168d063

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

library/std/src/sys/unix/ext/net/datagram.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
#[cfg(any(
2+
target_os = "android",
3+
target_os = "dragonfly",
4+
target_os = "emscripten",
5+
target_os = "freebsd",
6+
target_os = "linux",
7+
target_os = "netbsd",
8+
target_os = "openbsd",
9+
))]
110
use crate::io::IoSliceMut;
211
use crate::net::Shutdown;
312
use crate::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};

0 commit comments

Comments
 (0)