summaryrefslogtreecommitdiffstats
path: root/openpgp/src/keyhandle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/keyhandle.rs')
-rw-r--r--openpgp/src/keyhandle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/keyhandle.rs b/openpgp/src/keyhandle.rs
index 2dea1e35..22c654d1 100644
--- a/openpgp/src/keyhandle.rs
+++ b/openpgp/src/keyhandle.rs
@@ -73,7 +73,7 @@ impl From<&Fingerprint> for KeyHandle {
}
impl TryFrom<KeyHandle> for Fingerprint {
- type Error = failure::Error;
+ type Error = anyhow::Error;
fn try_from(i: KeyHandle) -> Result<Self> {
match i {
KeyHandle::Fingerprint(i) => Ok(i),
@@ -84,7 +84,7 @@ impl TryFrom<KeyHandle> for Fingerprint {
}
impl TryFrom<&KeyHandle> for Fingerprint {
- type Error = failure::Error;
+ type Error = anyhow::Error;
fn try_from(i: &KeyHandle) -> Result<Self> {
match i {
KeyHandle::Fingerprint(i) => Ok(i.clone()),