From 7221a1ce5742e422983cc2e4f73f0aa29347c7df Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Sun, 5 Nov 2017 08:24:55 -0800 Subject: Sort target OSes alphabetically --- src/sys/mod.rs | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/sys/mod.rs') diff --git a/src/sys/mod.rs b/src/sys/mod.rs index c99fe2db..a94b8a06 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -1,12 +1,20 @@ -#[cfg(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios", - target_os = "netbsd", target_os = "macos", target_os = "linux"))] +#[cfg(any(target_os = "dragonfly", + target_os = "freebsd", + target_os = "ios", + target_os = "linux", + target_os = "macos", + target_os = "netbsd"))] pub mod aio; -#[cfg(any(target_os = "linux", target_os = "android"))] +#[cfg(any(target_os = "android", target_os = "linux"))] pub mod epoll; -#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", - target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))] +#[cfg(any(target_os = "dragonfly", + target_os = "freebsd", + target_os = "ios", + target_os = "macos", + target_os = "netbsd", + target_os = "openbsd"))] pub mod event; #[cfg(target_os = "linux")] @@ -46,7 +54,7 @@ pub mod uio; pub mod time; -#[cfg(any(target_os = "linux", target_os = "android"))] +#[cfg(any(target_os = "android", target_os = "linux"))] pub mod ptrace; pub mod select; -- cgit v1.2.3