summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/tag.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/tag.rs')
-rw-r--r--openpgp/src/packet/tag.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/tag.rs b/openpgp/src/packet/tag.rs
index c7c8ddcf..7ea8c2c0 100644
--- a/openpgp/src/packet/tag.rs
+++ b/openpgp/src/packet/tag.rs
@@ -2,7 +2,7 @@ use std::fmt;
use std::cmp::Ordering;
use std::hash::{Hash, Hasher};
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
use quickcheck::{Arbitrary, Gen};
use crate::packet::Packet;
@@ -216,7 +216,7 @@ impl fmt::Display for Tag {
}
}
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
impl Arbitrary for Tag {
fn arbitrary<G: Gen>(g: &mut G) -> Self {
u8::arbitrary(g).into()