summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet_pile.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2022-03-02 10:50:50 +0100
committerJustus Winter <justus@sequoia-pgp.org>2022-03-02 11:06:29 +0100
commit4137a5a873c9365aecd31efadd34643e90b537da (patch)
tree1384451a9d9b37c329fe79809e9f69360047b4b8 /openpgp/src/packet_pile.rs
parentcd8defaacd7c8fd86a1536c15ce786f153f1652a (diff)
openpgp: Fix warnings when building without compression features.
Diffstat (limited to 'openpgp/src/packet_pile.rs')
-rw-r--r--openpgp/src/packet_pile.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/packet_pile.rs b/openpgp/src/packet_pile.rs
index 98f70c66..e10795c6 100644
--- a/openpgp/src/packet_pile.rs
+++ b/openpgp/src/packet_pile.rs
@@ -672,7 +672,7 @@ mod test {
use crate::packet::CompressedData;
use crate::packet::seip::SEIP1;
use crate::packet::Tag;
- use crate::parse::{Parse, PacketParser};
+ use crate::parse::Parse;
#[test]
fn deserialize_test_1 () {
@@ -827,6 +827,7 @@ mod test {
#[test]
fn consume_content_1 () {
use std::io::Read;
+ use crate::parse::PacketParser;
// A message containing a compressed packet that contains a
// literal packet. When we read some of the compressed
// packet, we expect recurse() to not recurse.