diff --git a/parsers/src/hashes.rs b/parsers/src/hashes.rs index d4a260e..80acc40 100644 --- a/parsers/src/hashes.rs +++ b/parsers/src/hashes.rs @@ -17,17 +17,17 @@ use std::str::FromStr; pub enum Algo { /// The Secure Hash Algorithm 1, with known vulnerabilities, do not use it. /// - /// See + /// See Sha_1, /// The Secure Hash Algorithm 2, in its 256-bit version. /// - /// See + /// See Sha_256, /// The Secure Hash Algorithm 2, in its 512-bit version. /// - /// See + /// See Sha_512, /// The Secure Hash Algorithm 3, based on Keccak, in its 256-bit version. @@ -42,12 +42,12 @@ pub enum Algo { /// The BLAKE2 hash algorithm, for a 256-bit output. /// - /// See + /// See Blake2b_256, /// The BLAKE2 hash algorithm, for a 512-bit output. /// - /// See + /// See Blake2b_512, /// An unknown hash not in this list, you can probably reject it. diff --git a/parsers/src/jingle.rs b/parsers/src/jingle.rs index 6a9a2c8..c1a0f88 100644 --- a/parsers/src/jingle.rs +++ b/parsers/src/jingle.rs @@ -131,14 +131,14 @@ generate_attribute!( RecipientListHistory => "recipient-list-history", /// The body describes a communications session, for example, an - /// [RFC2327](https://tools.ietf.org/html/rfc2327) SDP body. + /// [RFC2327](https://www.rfc-editor.org/rfc/rfc2327) SDP body. Session => "session", /// Authenticated Identity Body. Aib => "aib", /// The body describes an early communications session, for example, - /// and [RFC2327](https://tools.ietf.org/html/rfc2327) SDP body. + /// and [RFC2327](https://www.rfc-editor.org/rfc/rfc2327) SDP body. EarlySession => "early-session", /// The body includes a list of URIs to which URI-list services are to diff --git a/parsers/src/sasl.rs b/parsers/src/sasl.rs index 9f2ca9c..b8b46e9 100644 --- a/parsers/src/sasl.rs +++ b/parsers/src/sasl.rs @@ -22,7 +22,7 @@ generate_attribute!( /// client and the server to avoid having to store the password in /// clear. /// - /// See + /// See ScramSha1 => "SCRAM-SHA-1", /// Same as [ScramSha1](#structfield.ScramSha1), with the addition of diff --git a/parsers/src/stanza_error.rs b/parsers/src/stanza_error.rs index 3afd678..ccf3db7 100644 --- a/parsers/src/stanza_error.rs +++ b/parsers/src/stanza_error.rs @@ -71,7 +71,7 @@ generate_element_enum!( /// data of the \ element (which MUST be a Uniform Resource /// Identifier (URI) or Internationalized Resource Identifier (IRI) at /// which the entity can be contacted, typically an XMPP IRI as - /// specified in [XMPP‑URI](https://tools.ietf.org/html/rfc5122)). + /// specified in [XMPP‑URI](https://www.rfc-editor.org/rfc/rfc5122)). Gone => "gone", /// The server has experienced a misconfiguration or other internal