Skip to content

Commit 4c7bd69

Browse files
Fix style
1 parent 0908643 commit 4c7bd69

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/unix/linux_like/mod.rs

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@ cfg_if! {
239239
}
240240

241241
cfg_if! {
242-
if #[cfg(any(target_env = "gnu", target_os = "android", target_env = "musl"))] {
242+
if #[cfg(any(
243+
target_env = "gnu",
244+
target_os = "android",
245+
target_env = "musl"
246+
))] {
243247
s! {
244248
pub struct statx {
245249
pub stx_mask: crate::__u32,
@@ -1709,7 +1713,11 @@ cfg_if! {
17091713
}
17101714

17111715
cfg_if! {
1712-
if #[cfg(any(target_env = "gnu", target_os = "android", target_env = "musl"))] {
1716+
if #[cfg(any(
1717+
target_env = "gnu",
1718+
target_os = "android",
1719+
target_env = "musl"
1720+
))] {
17131721
pub const AT_STATX_SYNC_TYPE: c_int = 0x6000;
17141722
pub const AT_STATX_SYNC_AS_STAT: c_int = 0x0000;
17151723
pub const AT_STATX_FORCE_SYNC: c_int = 0x2000;
@@ -2206,7 +2214,11 @@ cfg_if! {
22062214

22072215
// The statx syscall, available on some libcs.
22082216
cfg_if! {
2209-
if #[cfg(any(target_env = "gnu", target_os = "android", target_env = "musl"))] {
2217+
if #[cfg(any(
2218+
target_env = "gnu",
2219+
target_os = "android",
2220+
target_env = "musl"
2221+
))] {
22102222
extern "C" {
22112223
pub fn statx(
22122224
dirfd: c_int,

0 commit comments

Comments
 (0)