From f288547bc23f2733b1e8b2cf5cb348a0d7cb004a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 2 Apr 2020 17:41:49 +0200 Subject: openpgp: Actually drop KeyID::from_hex. --- openpgp/src/keyid.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'openpgp/src/keyid.rs') 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 { - hex.parse() - } - /// Returns a reference to the raw KeyID. pub fn as_slice(&self) -> &[u8] { match self { -- cgit v1.2.3