Skip to content

Commit b366061

Browse files
Alexander Polakovroot
Alexander Polakov
authored and
root
committed
Still trying to please 1.1
1 parent e75bd4b commit b366061

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/sys/socket/addr.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,9 @@ impl fmt::Display for SockAddr {
554554
}
555555

556556
#[cfg(any(target_os = "linux", target_os = "android"))]
557-
mod netlink {
558-
use super::{AddressFamily,sockaddr_nl};
559-
use super::super::sa_family_t;
557+
pub mod netlink {
558+
use ::sys::socket::addr::{AddressFamily,sockaddr_nl};
559+
use libc::sa_family_t;
560560
use std::{fmt, hash};
561561

562562
#[derive(Copy)]

src/sys/socket/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub use self::addr::{
3333
Ipv6Addr,
3434
};
3535
#[cfg(any(target_os = "linux", target_os = "android"))]
36-
pub use self::addr::NetlinkAddr;
36+
pub use ::sys::socket::addr::NetlinkAddr;
3737

3838
pub use libc::{
3939
in_addr,

0 commit comments

Comments
 (0)