diff options
Diffstat (limited to 'openpgp/src/types/features.rs')
-rw-r--r-- | openpgp/src/types/features.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/types/features.rs b/openpgp/src/types/features.rs index 7e7e4240..828d76fb 100644 --- a/openpgp/src/types/features.rs +++ b/openpgp/src/types/features.rs @@ -1,6 +1,6 @@ use std::fmt; -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] use quickcheck::{Arbitrary, Gen}; use crate::types::Bitfield; @@ -355,7 +355,7 @@ const FEATURE_FLAG_MDC: usize = 0; /// Encrypted Session Key Packets (packet 3). const FEATURE_FLAG_AEAD: usize = 1; -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] impl Arbitrary for Features { fn arbitrary<G: Gen>(g: &mut G) -> Self { Self::new(Vec::arbitrary(g)) |