diff options
author | Bryant Mairs <bryantmairs@google.com> | 2018-01-14 09:43:30 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2018-01-28 15:35:35 -0800 |
commit | 04b0978c25d323c59d687e0ded1814b19ae7c6eb (patch) | |
tree | 84756c143fa0ffdc7ed6fc43b236dbbce53ce85b /src/sys | |
parent | 1f564a9d24d1c46aa4f771398fb024d67c9d0104 (diff) | |
download | nix-04b0978c25d323c59d687e0ded1814b19ae7c6eb.zip |
Disallow unnecessary import braces
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/socket/addr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs index 823f8df5..af8db15a 100644 --- a/src/sys/socket/addr.rs +++ b/src/sys/socket/addr.rs @@ -951,7 +951,7 @@ impl fmt::Display for SockAddr { #[cfg(any(target_os = "android", target_os = "linux"))] pub mod netlink { - use ::sys::socket::addr::{AddressFamily}; + use ::sys::socket::addr::AddressFamily; use libc::{sa_family_t, sockaddr_nl}; use std::{fmt, mem}; use std::hash::{Hash, Hasher}; @@ -1012,7 +1012,7 @@ pub mod netlink { #[cfg(any(target_os = "ios", target_os = "macos"))] pub mod sys_control { - use ::sys::socket::addr::{AddressFamily}; + use ::sys::socket::addr::AddressFamily; use libc::{self, c_uchar, uint16_t, uint32_t}; use std::{fmt, mem}; use std::hash::{Hash, Hasher}; |