summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/compressed_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/compressed_data.rs')
-rw-r--r--openpgp/src/packet/compressed_data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/compressed_data.rs b/openpgp/src/packet/compressed_data.rs
index 4f379496..bc673890 100644
--- a/openpgp/src/packet/compressed_data.rs
+++ b/openpgp/src/packet/compressed_data.rs
@@ -1,6 +1,6 @@
use std::fmt;
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
use quickcheck::{Arbitrary, Gen};
use crate::packet;
@@ -96,7 +96,7 @@ impl From<CompressedData> for Packet {
}
}
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
impl Arbitrary for CompressedData {
fn arbitrary<G: Gen>(g: &mut G) -> Self {
use rand::Rng;