summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-10-25 18:11:14 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-10-28 13:58:41 +0200
commit8785a2b7b154663989ee328096af037d4fb17b3f (patch)
tree68f4c9376d72747b934643c3c8008d3ff70bd704 /net
parentc577c03ed32988893f30169a1e58d662bb504e8f (diff)
net, openpgp: Fix private documentation.
Diffstat (limited to 'net')
-rw-r--r--net/src/wkd.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/src/wkd.rs b/net/src/wkd.rs
index c5cf4117..f1efff8f 100644
--- a/net/src/wkd.rs
+++ b/net/src/wkd.rs
@@ -179,10 +179,10 @@ impl Url {
/// Returns a 32 characters string from the local part of an email address
///
-/// [draft-koch]:
+/// From [draft-koch]:
/// The so mapped local-part is hashed using the SHA-1 algorithm. The
/// resulting 160 bit digest is encoded using the Z-Base-32 method as
-/// described in [RFC6189], section 5.1.6. The resulting string has a
+/// described in RFC6189, section 5.1.6. The resulting string has a
/// fixed length of 32 octets.
fn encode_local_part<S: AsRef<str>>(local_part: S) -> String {
let local_part = local_part.as_ref();