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.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/openpgp/src/keyhandle.rs b/openpgp/src/keyhandle.rs
index e4fb3323..c5058b9d 100644
--- a/openpgp/src/keyhandle.rs
+++ b/openpgp/src/keyhandle.rs
@@ -94,15 +94,6 @@ impl TryFrom<&KeyHandle> for Fingerprint {
}
}
-impl From<KeyHandle> for String {
- fn from(i: KeyHandle) -> Self {
- match i {
- KeyHandle::Fingerprint(i) => i.to_string(),
- KeyHandle::KeyID(i) => i.to_string(),
- }
- }
-}
-
impl PartialOrd for KeyHandle {
fn partial_cmp(&self, other: &KeyHandle) -> Option<Ordering> {
let a = self.as_slice();