Skip to content

Commit d0069a0

Browse files
committed
Fix imports for MacOs
1 parent 1ae54e5 commit d0069a0

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
target_os = "netbsd",
88
target_os = "openbsd",
99
))]
10-
use super::{
11-
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr,
12-
SocketAncillary,
13-
};
10+
use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary};
11+
use super::{sockaddr_un, SocketAddr};
1412
#[cfg(any(
1513
target_os = "android",
1614
target_os = "dragonfly",

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
target_os = "netbsd",
88
target_os = "openbsd",
99
))]
10-
use super::{
11-
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr,
12-
SocketAncillary,
13-
};
10+
use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary};
11+
use super::{sockaddr_un, SocketAddr};
1412
use crate::fmt;
1513
use crate::io::{self, Initializer, IoSlice, IoSliceMut};
1614
use crate::net::Shutdown;

0 commit comments

Comments
 (0)