diff options
Diffstat (limited to 'openpgp/src/packet/userid.rs')
-rw-r--r-- | openpgp/src/packet/userid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/userid.rs b/openpgp/src/packet/userid.rs index eb5d9225..99cb2a0d 100644 --- a/openpgp/src/packet/userid.rs +++ b/openpgp/src/packet/userid.rs @@ -62,7 +62,7 @@ impl fmt::Debug for UserID { impl UserID { /// Gets the user ID packet's value. - pub fn userid(&self) -> &[u8] { + pub fn value(&self) -> &[u8] { self.value.as_slice() } } |