Skip to content

Commit 3982d8a

Browse files
committed
Format code
1 parent b4e3dcd commit 3982d8a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/sys/mod.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,13 @@ feature! {
137137
pub mod stat;
138138
}
139139

140-
#[cfg(any(linux_android, freebsdlike, apple_targets, target_os = "openbsd", target_os = "cygwin"))]
140+
#[cfg(any(
141+
linux_android,
142+
freebsdlike,
143+
apple_targets,
144+
target_os = "openbsd",
145+
target_os = "cygwin"
146+
))]
141147
feature! {
142148
#![feature = "fs"]
143149
pub mod statfs;

test/sys/test_socket.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3156,7 +3156,12 @@ fn can_use_cmsg_space() {
31563156
let _ = cmsg_space!(u8);
31573157
}
31583158

3159-
#[cfg(not(any(linux_android, target_os = "redox", target_os = "haiku", target_os = "cygwin")))]
3159+
#[cfg(not(any(
3160+
linux_android,
3161+
target_os = "redox",
3162+
target_os = "haiku",
3163+
target_os = "cygwin"
3164+
)))]
31603165
#[test]
31613166
fn can_open_routing_socket() {
31623167
use nix::sys::socket::{socket, AddressFamily, SockFlag, SockType};

0 commit comments

Comments
 (0)