mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
time: cfg(any(x)) is the same as cfg(x)
This was left over in c043a0e7d6
.
This commit is contained in:
parent
dd91aba2fd
commit
f264d28f2c
@ -217,7 +217,7 @@ impl From<__timespec64> for Timespec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
all(target_os = "macos", any(not(target_arch = "aarch64"))),
|
all(target_os = "macos", not(target_arch = "aarch64")),
|
||||||
target_os = "ios",
|
target_os = "ios",
|
||||||
target_os = "watchos",
|
target_os = "watchos",
|
||||||
target_os = "tvos"
|
target_os = "tvos"
|
||||||
@ -338,7 +338,7 @@ mod inner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(
|
#[cfg(not(any(
|
||||||
all(target_os = "macos", any(not(target_arch = "aarch64"))),
|
all(target_os = "macos", not(target_arch = "aarch64")),
|
||||||
target_os = "ios",
|
target_os = "ios",
|
||||||
target_os = "watchos",
|
target_os = "watchos",
|
||||||
target_os = "tvos"
|
target_os = "tvos"
|
||||||
|
Loading…
Reference in New Issue
Block a user