Skip to content

Commit

Permalink
Fix unused import for IoSliceMut for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkTed committed Oct 10, 2020
1 parent 31e6e38 commit 0fcb834
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions library/std/src/sys/unix/ext/net/datagram.rs
@@ -1,3 +1,12 @@
#[cfg(any(
target_os = "android",
target_os = "dragonfly",
target_os = "emscripten",
target_os = "freebsd",
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
))]
use crate::io::IoSliceMut;
use crate::net::Shutdown;
use crate::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
Expand Down

0 comments on commit 0fcb834

Please sign in to comment.