]> git.lizzy.rs Git - rust.git/commitdiff
Add note to clearly mark the RFC as rejected
authorAlexis Bourget <alexis.bourget@gmail.com>
Sun, 26 Jul 2020 20:00:29 +0000 (22:00 +0200)
committerAlexis Bourget <alexis.bourget@gmail.com>
Tue, 28 Jul 2020 16:53:35 +0000 (18:53 +0200)
library/std/src/net/ip.rs

index 21c2667f63f2a50d3d4c2d9eb4ed7d58aa5bc8f2..a64b43ca3ad45f92a8991659f310f2f538734699 100644 (file)
@@ -1265,11 +1265,14 @@ pub fn is_unique_local(&self) -> bool {
     /// # See also
     ///
     /// - [IETF RFC 4291 section 2.5.6]
+    /// - [RFC 4291 errata 4406] (which has been rejected but provides useful
+    ///   insight)
     /// - [`is_unicast_link_local()`]
     ///
     /// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
     /// [IETF RFC 4291 section 2.5.6]: https://tools.ietf.org/html/rfc4291#section-2.5.6
     /// [`true`]: ../../std/primitive.bool.html
+    /// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
     /// [`is_unicast_link_local()`]: ../../std/net/struct.Ipv6Addr.html#method.is_unicast_link_local
     pub fn is_unicast_link_local_strict(&self) -> bool {
         (self.segments()[0] & 0xffff) == 0xfe80
@@ -1321,9 +1324,12 @@ pub fn is_unicast_link_local_strict(&self) -> bool {
     /// # See also
     ///
     /// - [IETF RFC 4291 section 2.4]
+    /// - [RFC 4291 errata 4406] (which has been rejected but provides useful
+    ///   insight)
     ///
     /// [IETF RFC 4291 section 2.4]: https://tools.ietf.org/html/rfc4291#section-2.4
     /// [`true`]: ../../std/primitive.bool.html
+    /// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
     /// [`is_unicast_link_local_strict()`]: ../../std/net/struct.Ipv6Addr.html#method.is_unicast_link_local_strict
     pub fn is_unicast_link_local(&self) -> bool {
         (self.segments()[0] & 0xffc0) == 0xfe80