summaryrefslogtreecommitdiffstats
path: root/openpgp/src/fingerprint.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-03 13:58:24 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-03 13:58:24 +0100
commitbd153237fc6eb0a841f4d8b8d79f3383b7115b00 (patch)
tree07b7e8ad7b12d68da2b86729b68a219cff3cf6e0 /openpgp/src/fingerprint.rs
parent88442e46a8f5639c4493713baeb5b90f7cf6a84b (diff)
openpgp: Rename openpgp::conversions to openpgp::fmt.
Diffstat (limited to 'openpgp/src/fingerprint.rs')
-rw-r--r--openpgp/src/fingerprint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/fingerprint.rs b/openpgp/src/fingerprint.rs
index ab662ed1..1e9779f2 100644
--- a/openpgp/src/fingerprint.rs
+++ b/openpgp/src/fingerprint.rs
@@ -52,7 +52,7 @@ impl Fingerprint {
/// assert_eq!(fp.unwrap().to_hex(), hex);
/// ```
pub fn from_hex(hex: &str) -> Result<Fingerprint> {
- Ok(Fingerprint::from_bytes(&crate::conversions::from_hex(hex, true)?[..]))
+ Ok(Fingerprint::from_bytes(&crate::fmt::from_hex(hex, true)?[..]))
}
/// Returns a reference to the raw Fingerprint.