summaryrefslogtreecommitdiffstats
path: root/openpgp/src/keyid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/keyid.rs')
-rw-r--r--openpgp/src/keyid.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs
index abc26426..799bf4fd 100644
--- a/openpgp/src/keyid.rs
+++ b/openpgp/src/keyid.rs
@@ -1,10 +1,10 @@
use std::fmt;
use quickcheck::{Arbitrary, Gen};
-use Error;
-use Fingerprint;
-use KeyID;
-use Result;
+use crate::Error;
+use crate::Fingerprint;
+use crate::KeyID;
+use crate::Result;
impl fmt::Display for KeyID {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
@@ -84,7 +84,7 @@ impl KeyID {
/// Reads a hex-encoded Key ID.
pub fn from_hex(hex: &str) -> Result<KeyID> {
- let bytes = ::conversions::from_hex(hex, true)?;
+ let bytes = crate::conversions::from_hex(hex, true)?;
// A KeyID is exactly 8 bytes long.
if bytes.len() == 8 {