diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-04-02 17:41:49 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-04-02 17:41:49 +0200 |
commit | f288547bc23f2733b1e8b2cf5cb348a0d7cb004a (patch) | |
tree | 98e5182a32cf7ed8236abc6c9d63201e1ea2f6a7 /openpgp/src/keyid.rs | |
parent | 789ae8615fda8e6dcbc1a39625e322255da90cef (diff) |
openpgp: Actually drop KeyID::from_hex.
Diffstat (limited to 'openpgp/src/keyid.rs')
-rw-r--r-- | openpgp/src/keyid.rs | 6 |
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 { |