about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2022-11-26 09:54:54 +0000
committerChris Denton <christophersdenton@gmail.com>2022-11-26 09:54:54 +0000
commit39511672e764f911df5e5ee9de79aa9b992a86c8 (patch)
tree1b21f1cb28acaf86c774b889111fa525430e3e92 /example
parent20ff36217af99b92846d91869b6fa434da56f8c2 (diff)
downloadrust-39511672e764f911df5e5ee9de79aa9b992a86c8.tar.gz
rust-39511672e764f911df5e5ee9de79aa9b992a86c8.zip
Remove more redundant `all`s
Diffstat (limited to 'example')
-rw-r--r--example/alloc_system.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/alloc_system.rs b/example/alloc_system.rs
index 89661918d05..fd01fcf1fc8 100644
--- a/example/alloc_system.rs
+++ b/example/alloc_system.rs
@@ -13,17 +13,17 @@
 
 // The minimum alignment guaranteed by the architecture. This value is used to
 // add fast paths for low alignment values.
-#[cfg(all(any(target_arch = "x86",
+#[cfg(any(target_arch = "x86",
               target_arch = "arm",
               target_arch = "mips",
               target_arch = "powerpc",
-              target_arch = "powerpc64")))]
+              target_arch = "powerpc64"))]
 const MIN_ALIGN: usize = 8;
-#[cfg(all(any(target_arch = "x86_64",
+#[cfg(any(target_arch = "x86_64",
               target_arch = "aarch64",
               target_arch = "mips64",
               target_arch = "s390x",
-              target_arch = "sparc64")))]
+              target_arch = "sparc64"))]
 const MIN_ALIGN: usize = 16;
 
 pub struct System;