summaryrefslogtreecommitdiffstats
path: root/openpgp/tests/for-each-artifact.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/tests/for-each-artifact.rs')
-rw-r--r--openpgp/tests/for-each-artifact.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/tests/for-each-artifact.rs b/openpgp/tests/for-each-artifact.rs
index 757b1c79..b45364ea 100644
--- a/openpgp/tests/for-each-artifact.rs
+++ b/openpgp/tests/for-each-artifact.rs
@@ -177,7 +177,7 @@ fn for_all_packets<F>(src: &Path, mut fun: F) -> openpgp::Result<()>
return Ok(());
};
- while let Ok(pp) = ppr {
+ while let PacketParserResult::Some(pp) = ppr {
match pp.recurse() {
Ok((packet, ppr_)) => {
ppr = ppr_;