Skip to content

Commit 90d0052

Browse files
committed
Add note to clearly mark the RFC as rejected
1 parent dcce6cb commit 90d0052

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

library/std/src/net/ip.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1265,11 +1265,14 @@ impl Ipv6Addr {
12651265
/// # See also
12661266
///
12671267
/// - [IETF RFC 4291 section 2.5.6]
1268+
/// - [RFC 4291 errata 4406] (which has been rejected but provides useful
1269+
/// insight)
12681270
/// - [`is_unicast_link_local()`]
12691271
///
12701272
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
12711273
/// [IETF RFC 4291 section 2.5.6]: https://tools.ietf.org/html/rfc4291#section-2.5.6
12721274
/// [`true`]: ../../std/primitive.bool.html
1275+
/// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
12731276
/// [`is_unicast_link_local()`]: ../../std/net/struct.Ipv6Addr.html#method.is_unicast_link_local
12741277
pub fn is_unicast_link_local_strict(&self) -> bool {
12751278
(self.segments()[0] & 0xffff) == 0xfe80
@@ -1321,9 +1324,12 @@ impl Ipv6Addr {
13211324
/// # See also
13221325
///
13231326
/// - [IETF RFC 4291 section 2.4]
1327+
/// - [RFC 4291 errata 4406] (which has been rejected but provides useful
1328+
/// insight)
13241329
///
13251330
/// [IETF RFC 4291 section 2.4]: https://tools.ietf.org/html/rfc4291#section-2.4
13261331
/// [`true`]: ../../std/primitive.bool.html
1332+
/// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
13271333
/// [`is_unicast_link_local_strict()`]: ../../std/net/struct.Ipv6Addr.html#method.is_unicast_link_local_strict
13281334
pub fn is_unicast_link_local(&self) -> bool {
13291335
(self.segments()[0] & 0xffc0) == 0xfe80

0 commit comments

Comments
 (0)