summaryrefslogtreecommitdiffstats
path: root/openpgp/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-04-16 11:58:32 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-04-16 11:58:32 +0200
commit350320a32ce569d3e86352ba5a79ee969e9595af (patch)
tree87fe70395f62566d7d7e0cef3e93d62f6288a4e4 /openpgp/tests
parente1ae4a79ada96a97f604d3f3f172b9b02a6da8bb (diff)
Revert "openpgp: Make PacketParserResult a std::result::Result."
Diffstat (limited to 'openpgp/tests')
-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_;