summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/userid.rs
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-08-23 16:55:26 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-08-27 12:58:07 +0200
commite5746684e84377dd8828f6a5a8ab4c0eec73c3ec (patch)
tree5261ba9f497ec5ce51d47198742919673de3c893 /openpgp/src/packet/userid.rs
parent078c4d7ee16ea06977ec8cb7cf5571c880e9c710 (diff)
Convert markdown to intra-doc links.
- Apply cargo intraconv.
Diffstat (limited to 'openpgp/src/packet/userid.rs')
-rw-r--r--openpgp/src/packet/userid.rs26
1 files changed, 13 insertions, 13 deletions
diff --git a/openpgp/src/packet/userid.rs b/openpgp/src/packet/userid.rs
index 49be2629..dc873e21 100644
--- a/openpgp/src/packet/userid.rs
+++ b/openpgp/src/packet/userid.rs
@@ -318,13 +318,13 @@ impl ConventionallyParsedUserID {
/// create well-formed User IDs from email address, and optional name
/// and comment.
///
-/// [name]: #method.name
-/// [comment]: #method.comment
-/// [email address]: #method.email
-/// [URI]: #method.uri
-/// [canonicalize the email address]: #method.email_normalized
-/// [two]: #method.from_address
-/// [constructors]: #method.from_unchecked_address
+/// [name]: UserID::name()
+/// [comment]: UserID::comment()
+/// [email address]: UserID::email()
+/// [URI]: UserID::uri()
+/// [canonicalize the email address]: UserID::email_normalized()
+/// [two]: UserID::from_address()
+/// [constructors]: UserID::from_unchecked_address()
///
/// # Conventional User IDs
///
@@ -729,7 +729,7 @@ impl UserID {
/// For more details, please refer to the documentation for
/// [HashAlgoSecurity].
///
- /// [HashAlgoSecurity]: ../policy/enum.HashAlgoSecurity.html
+ /// [HashAlgoSecurity]: super::policy::HashAlgoSecurity
pub fn hash_algo_security(&self) -> HashAlgoSecurity {
self.hash_algo_security
}
@@ -835,11 +835,11 @@ impl UserID {
/// [`UserID::comment`] for how to extract parts of [conventional
/// User ID]s.
///
- /// [`UserID::name`]: #method.name
- /// [`UserID::email`]: #method.email
- /// [`UserID::email_normalized`]: #method.email_normalized
- /// [`UserID::uri`]: #method.uri
- /// [`UserID::comment`]: #method.comment
+ /// [`UserID::name`]: UserID::name()
+ /// [`UserID::email`]: UserID::email()
+ /// [`UserID::email_normalized`]: UserID::email_normalized()
+ /// [`UserID::uri`]: UserID::uri()
+ /// [`UserID::comment`]: UserID::comment()
/// [conventional User ID]: #conventional-user-ids
pub fn value(&self) -> &[u8] {
self.value.as_slice()