about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2023-09-28 12:11:20 -0400
committerTamir Duberstein <tamird@gmail.com>2023-09-28 12:13:50 -0400
commitf264d28f2cb941500d89e97a053ae96322c8ed86 (patch)
treeca1d608fbced01931b80038ffb9291f80a0aa3cc /library/std/src
parentdd91aba2fdd8e3b6d9248a401bd6eb2f8d445cdf (diff)
downloadrust-f264d28f2cb941500d89e97a053ae96322c8ed86.tar.gz
rust-f264d28f2cb941500d89e97a053ae96322c8ed86.zip
time: cfg(any(x)) is the same as cfg(x)
This was left over in c043a0e7d6f347f9b2c7f08c5b3a179470e0f0c5.
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sys/unix/time.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/unix/time.rs b/library/std/src/sys/unix/time.rs
index 4fe61b28488..c94a29b510a 100644
--- a/library/std/src/sys/unix/time.rs
+++ b/library/std/src/sys/unix/time.rs
@@ -217,7 +217,7 @@ impl From<__timespec64> for Timespec {
 }
 
 #[cfg(any(
-    all(target_os = "macos", any(not(target_arch = "aarch64"))),
+    all(target_os = "macos", not(target_arch = "aarch64")),
     target_os = "ios",
     target_os = "watchos",
     target_os = "tvos"
@@ -338,7 +338,7 @@ mod inner {
 }
 
 #[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 = "watchos",
     target_os = "tvos"