Skip to content

Commit 7edf216

Browse files
committed
Improve cfg() usage
There’s only one feature…
1 parent f30e24c commit 7edf216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/pclmulqdq/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl BitXorAssign for Simd {
7373
}
7474

7575
pub fn get_update() -> super::UpdateFn {
76-
#[cfg(all(feature = "vpclmulqdq"))]
76+
#[cfg(feature = "vpclmulqdq")]
7777
{
7878
use arch::vpclmulqdq::*;
7979
if Simd256::is_supported() {

Diff for: src/pclmulqdq/x86_64/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use std::arch::x86_64::*;
77
use std::ops::BitXor;
88

9-
#[cfg(all(feature = "vpclmulqdq"))]
9+
#[cfg(feature = "vpclmulqdq")]
1010
pub mod vpclmulqdq;
1111

1212
#[repr(transparent)]

0 commit comments

Comments
 (0)