Skip to content

Commit 7221a1c

Browse files
author
Bryant Mairs
committed
Sort target OSes alphabetically
1 parent 1b9d205 commit 7221a1c

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/sys/mod.rs

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1-
#[cfg(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
2-
target_os = "netbsd", target_os = "macos", target_os = "linux"))]
1+
#[cfg(any(target_os = "dragonfly",
2+
target_os = "freebsd",
3+
target_os = "ios",
4+
target_os = "linux",
5+
target_os = "macos",
6+
target_os = "netbsd"))]
37
pub mod aio;
48

5-
#[cfg(any(target_os = "linux", target_os = "android"))]
9+
#[cfg(any(target_os = "android", target_os = "linux"))]
610
pub mod epoll;
711

8-
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd",
9-
target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))]
12+
#[cfg(any(target_os = "dragonfly",
13+
target_os = "freebsd",
14+
target_os = "ios",
15+
target_os = "macos",
16+
target_os = "netbsd",
17+
target_os = "openbsd"))]
1018
pub mod event;
1119

1220
#[cfg(target_os = "linux")]
@@ -46,7 +54,7 @@ pub mod uio;
4654

4755
pub mod time;
4856

49-
#[cfg(any(target_os = "linux", target_os = "android"))]
57+
#[cfg(any(target_os = "android", target_os = "linux"))]
5058
pub mod ptrace;
5159

5260
pub mod select;

0 commit comments

Comments
 (0)