Skip to content

Commit f264d28

Browse files
committed
time: cfg(any(x)) is the same as cfg(x)
This was left over in c043a0e.
1 parent dd91aba commit f264d28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/sys/unix/time.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl From<__timespec64> for Timespec {
217217
}
218218

219219
#[cfg(any(
220-
all(target_os = "macos", any(not(target_arch = "aarch64"))),
220+
all(target_os = "macos", not(target_arch = "aarch64")),
221221
target_os = "ios",
222222
target_os = "watchos",
223223
target_os = "tvos"
@@ -338,7 +338,7 @@ mod inner {
338338
}
339339

340340
#[cfg(not(any(
341-
all(target_os = "macos", any(not(target_arch = "aarch64"))),
341+
all(target_os = "macos", not(target_arch = "aarch64")),
342342
target_os = "ios",
343343
target_os = "watchos",
344344
target_os = "tvos"

0 commit comments

Comments
 (0)