summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/parser/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/parser/mod.rs')
-rw-r--r--openpgp/src/cert/parser/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/parser/mod.rs b/openpgp/src/cert/parser/mod.rs
index 2666ccf7..a3a83c51 100644
--- a/openpgp/src/cert/parser/mod.rs
+++ b/openpgp/src/cert/parser/mod.rs
@@ -39,7 +39,7 @@ pub enum KeyringValidity {
/// The packet sequence is a valid key ring prefix.
KeyringPrefix,
/// The packet sequence is definitely not a key ring.
- Error(failure::Error),
+ Error(anyhow::Error),
}
impl KeyringValidity {
@@ -246,7 +246,7 @@ pub enum CertValidity {
/// The packet sequence is a valid Cert prefix.
CertPrefix,
/// The packet sequence is definitely not a Cert.
- Error(failure::Error),
+ Error(anyhow::Error),
}
impl CertValidity {