diff options
| author | LinkTed <LinkTed@users.noreply.github.com> | 2020-10-02 22:02:16 +0200 |
|---|---|---|
| committer | LinkTed <LinkTed@users.noreply.github.com> | 2020-10-10 15:19:13 +0200 |
| commit | d0069a0cc525084770a035f5f6963f43ccdea26e (patch) | |
| tree | 02bb606af8dbb50ed3818074e705ad03317ed2fd /library/std/src | |
| parent | 1ae54e560a7cf6021a28d2addc6253ae8baab96f (diff) | |
| download | rust-d0069a0cc525084770a035f5f6963f43ccdea26e.tar.gz rust-d0069a0cc525084770a035f5f6963f43ccdea26e.zip | |
Fix imports for MacOs
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/unix/ext/net/datagram.rs | 6 | ||||
| -rw-r--r-- | library/std/src/sys/unix/ext/net/stream.rs | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/library/std/src/sys/unix/ext/net/datagram.rs b/library/std/src/sys/unix/ext/net/datagram.rs index ce91b403efd..3e0c7a98a45 100644 --- a/library/std/src/sys/unix/ext/net/datagram.rs +++ b/library/std/src/sys/unix/ext/net/datagram.rs @@ -7,10 +7,8 @@ target_os = "netbsd", target_os = "openbsd", ))] -use super::{ - recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr, - SocketAncillary, -}; +use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary}; +use super::{sockaddr_un, SocketAddr}; #[cfg(any( target_os = "android", target_os = "dragonfly", diff --git a/library/std/src/sys/unix/ext/net/stream.rs b/library/std/src/sys/unix/ext/net/stream.rs index e13c863bdbb..ac0b53e1ede 100644 --- a/library/std/src/sys/unix/ext/net/stream.rs +++ b/library/std/src/sys/unix/ext/net/stream.rs @@ -7,10 +7,8 @@ target_os = "netbsd", target_os = "openbsd", ))] -use super::{ - recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr, - SocketAncillary, -}; +use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary}; +use super::{sockaddr_un, SocketAddr}; use crate::fmt; use crate::io::{self, Initializer, IoSlice, IoSliceMut}; use crate::net::Shutdown; |
