Skip to content

Commit 3bacbac

Browse files
eduardosmAmanieu
authored andcommitted
Simplify a cfg
1 parent cecead1 commit 3bacbac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/std_detect/tests/cpu-detection.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn all() {
2525
}
2626

2727
#[test]
28-
#[cfg(all(target_arch = "arm", any(target_os = "freebsd"),))]
28+
#[cfg(all(target_arch = "arm", target_os = "freebsd"))]
2929
fn arm_freebsd() {
3030
println!("neon: {}", is_arm_feature_detected!("neon"));
3131
println!("pmull: {}", is_arm_feature_detected!("pmull"));
@@ -35,7 +35,7 @@ fn arm_freebsd() {
3535
}
3636

3737
#[test]
38-
#[cfg(all(target_arch = "arm", any(target_os = "linux", target_os = "android"),))]
38+
#[cfg(all(target_arch = "arm", any(target_os = "linux", target_os = "android")))]
3939
fn arm_linux() {
4040
println!("neon: {}", is_arm_feature_detected!("neon"));
4141
println!("pmull: {}", is_arm_feature_detected!("pmull"));

0 commit comments

Comments
 (0)