summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-04-02 17:41:49 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-04-02 17:41:49 +0200
commitf288547bc23f2733b1e8b2cf5cb348a0d7cb004a (patch)
tree98e5182a32cf7ed8236abc6c9d63201e1ea2f6a7
parent789ae8615fda8e6dcbc1a39625e322255da90cef (diff)
openpgp: Actually drop KeyID::from_hex.
-rw-r--r--openpgp/src/keyid.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs
index d65e2f1c..cdb14ec0 100644
--- a/openpgp/src/keyid.rs
+++ b/openpgp/src/keyid.rs
@@ -159,12 +159,6 @@ impl KeyID {
}
}
- /// Reads a hex-encoded Key ID.
- #[deprecated]
- pub fn from_hex(hex: &str) -> Result<KeyID> {
- hex.parse()
- }
-
/// Returns a reference to the raw KeyID.
pub fn as_slice(&self) -> &[u8] {
match self {