diff options
Diffstat (limited to 'openpgp/src/types/key_flags.rs')
-rw-r--r-- | openpgp/src/types/key_flags.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/types/key_flags.rs b/openpgp/src/types/key_flags.rs index c6d0890f..f100768f 100644 --- a/openpgp/src/types/key_flags.rs +++ b/openpgp/src/types/key_flags.rs @@ -1,7 +1,7 @@ use std::fmt; use std::ops::{BitAnd, BitOr}; -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] use quickcheck::{Arbitrary, Gen}; use crate::types::Bitfield; @@ -392,7 +392,7 @@ const KEY_FLAG_AUTHENTICATE: usize = 5; /// than one person. const KEY_FLAG_GROUP_KEY: usize = 7; -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] impl Arbitrary for KeyFlags { fn arbitrary<G: Gen>(g: &mut G) -> Self { Self::new(Vec::arbitrary(g)) |