parsers: Update IETF URLs in documentation

Maxime “pep” Buquet created

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

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Change summary

parsers/src/hashes.rs       | 10 +++++-----
parsers/src/jingle.rs       |  4 ++--
parsers/src/sasl.rs         |  2 +-
parsers/src/stanza_error.rs |  2 +-
4 files changed, 9 insertions(+), 9 deletions(-)

Detailed changes

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 <https://tools.ietf.org/html/rfc3174>
+    /// See <https://www.rfc-editor.org/rfc/rfc3174>
     Sha_1,
 
     /// 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,
 
     /// 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,
 
     /// 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 <https://tools.ietf.org/html/rfc7693>
+    /// See <https://www.rfc-editor.org/rfc/rfc7693>
     Blake2b_256,
 
     /// 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,
 
     /// An unknown hash not in this list, you can probably reject it.

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

parsers/src/sasl.rs 🔗

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

parsers/src/stanza_error.rs 🔗

@@ -71,7 +71,7 @@ generate_element_enum!(
         /// data of the \<gone/\> 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