summaryrefslogtreecommitdiff
path: root/src/sys/socket/mod.rs
diff options
context:
space:
mode:
authorAlexander Polakov <apolyakov@beget.ru>2016-01-27 01:47:34 +0300
committerKamal Marhubi <kamal@marhubi.com>2016-01-28 10:33:44 -0500
commit02cb854372c8f893b53f65023da0bf57a7be4a76 (patch)
tree08077a743793906d2b05c8ba9adf12532b655193 /src/sys/socket/mod.rs
parentb45c505dd8f1c50ba24621481c8025355ba23908 (diff)
downloadnix-02cb854372c8f893b53f65023da0bf57a7be4a76.zip
Derive all the things
as suggested by @kamalmarhubi
Diffstat (limited to 'src/sys/socket/mod.rs')
-rw-r--r--src/sys/socket/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs
index 5922f135..bd87bbf1 100644
--- a/src/sys/socket/mod.rs
+++ b/src/sys/socket/mod.rs
@@ -541,7 +541,7 @@ pub enum SockLevel {
Ip = IPPROTO_IP,
Ipv6 = IPPROTO_IPV6,
Udp = IPPROTO_UDP,
-#[cfg(any(target_os = "linux", target_os = "android"))]
+ #[cfg(any(target_os = "linux", target_os = "android"))]
Netlink = SOL_NETLINK,
}