diff options
Diffstat (limited to 'openpgp/src/packet/userid.rs')
-rw-r--r-- | openpgp/src/packet/userid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/userid.rs b/openpgp/src/packet/userid.rs index 6b9c1eb6..63426e22 100644 --- a/openpgp/src/packet/userid.rs +++ b/openpgp/src/packet/userid.rs @@ -5,7 +5,7 @@ use std::cell::RefCell; use std::cmp::Ordering; use std::sync::Mutex; -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] use quickcheck::{Arbitrary, Gen}; use anyhow::Context; @@ -895,7 +895,7 @@ impl From<UserID> for Packet { } } -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] impl Arbitrary for UserID { fn arbitrary<G: Gen>(g: &mut G) -> Self { Vec::<u8>::arbitrary(g).into() |