From d0069a0cc525084770a035f5f6963f43ccdea26e Mon Sep 17 00:00:00 2001 From: LinkTed Date: Fri, 2 Oct 2020 22:02:16 +0200 Subject: [PATCH] Fix imports for MacOs --- library/std/src/sys/unix/ext/net/datagram.rs | 6 ++---- 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;