parsers: Update IETF URLs in documentation

sed -i -e 's/tools\.ietf\.org\/html/www\.rfc-editor\.org\/rfc/' src/**.rs

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-12-27 16:33:51 +01:00
parent afcf9fb2d0
commit a0e6054eb8
4 changed files with 9 additions and 9 deletions

View file

@ -17,17 +17,17 @@ use std::str::FromStr;
pub enum Algo { pub enum Algo {
/// The Secure Hash Algorithm 1, with known vulnerabilities, do not use it. /// The Secure Hash Algorithm 1, with known vulnerabilities, do not use it.
/// ///
/// See <https://tools.ietf.org/html/rfc3174> /// See <https://www.rfc-editor.org/rfc/rfc3174>
Sha_1, Sha_1,
/// The Secure Hash Algorithm 2, in its 256-bit version. /// The Secure Hash Algorithm 2, in its 256-bit version.
/// ///
/// See <https://tools.ietf.org/html/rfc6234> /// See <https://www.rfc-editor.org/rfc/rfc6234>
Sha_256, Sha_256,
/// The Secure Hash Algorithm 2, in its 512-bit version. /// The Secure Hash Algorithm 2, in its 512-bit version.
/// ///
/// See <https://tools.ietf.org/html/rfc6234> /// See <https://www.rfc-editor.org/rfc/rfc6234>
Sha_512, Sha_512,
/// The Secure Hash Algorithm 3, based on Keccak, in its 256-bit version. /// 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. /// The BLAKE2 hash algorithm, for a 256-bit output.
/// ///
/// See <https://tools.ietf.org/html/rfc7693> /// See <https://www.rfc-editor.org/rfc/rfc7693>
Blake2b_256, Blake2b_256,
/// The BLAKE2 hash algorithm, for a 512-bit output. /// The BLAKE2 hash algorithm, for a 512-bit output.
/// ///
/// See <https://tools.ietf.org/html/rfc7693> /// See <https://www.rfc-editor.org/rfc/rfc7693>
Blake2b_512, Blake2b_512,
/// An unknown hash not in this list, you can probably reject it. /// An unknown hash not in this list, you can probably reject it.

View file

@ -131,14 +131,14 @@ generate_attribute!(
RecipientListHistory => "recipient-list-history", RecipientListHistory => "recipient-list-history",
/// The body describes a communications session, for example, an /// 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", Session => "session",
/// Authenticated Identity Body. /// Authenticated Identity Body.
Aib => "aib", Aib => "aib",
/// The body describes an early communications session, for example, /// 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", EarlySession => "early-session",
/// The body includes a list of URIs to which URI-list services are to /// The body includes a list of URIs to which URI-list services are to

View file

@ -22,7 +22,7 @@ generate_attribute!(
/// client and the server to avoid having to store the password in /// client and the server to avoid having to store the password in
/// clear. /// clear.
/// ///
/// See <https://tools.ietf.org/html/rfc5802> /// See <https://www.rfc-editor.org/rfc/rfc5802>
ScramSha1 => "SCRAM-SHA-1", ScramSha1 => "SCRAM-SHA-1",
/// Same as [ScramSha1](#structfield.ScramSha1), with the addition of /// Same as [ScramSha1](#structfield.ScramSha1), with the addition of

View file

@ -71,7 +71,7 @@ generate_element_enum!(
/// data of the \<gone/\> element (which MUST be a Uniform Resource /// data of the \<gone/\> element (which MUST be a Uniform Resource
/// Identifier (URI) or Internationalized Resource Identifier (IRI) at /// Identifier (URI) or Internationalized Resource Identifier (IRI) at
/// which the entity can be contacted, typically an XMPP IRI as /// which the entity can be contacted, typically an XMPP IRI as
/// specified in [XMPPURI](https://tools.ietf.org/html/rfc5122)). /// specified in [XMPPURI](https://www.rfc-editor.org/rfc/rfc5122)).
Gone => "gone", Gone => "gone",
/// The server has experienced a misconfiguration or other internal /// The server has experienced a misconfiguration or other internal