diff options
Diffstat (limited to 'openpgp/src/fingerprint.rs')
-rw-r--r-- | openpgp/src/fingerprint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/fingerprint.rs b/openpgp/src/fingerprint.rs index c83085bd..2e6889e2 100644 --- a/openpgp/src/fingerprint.rs +++ b/openpgp/src/fingerprint.rs @@ -67,7 +67,7 @@ impl Fingerprint { } /// Returns a reference to the raw Fingerprint. - pub fn as_slice(&self) -> &[u8] { + pub fn as_bytes(&self) -> &[u8] { match self { &Fingerprint::V4(ref fp) => fp, &Fingerprint::Invalid(ref fp) => fp, |