Skip to content

Commit acad0a0

Browse files
authored
Rollup merge of #74742 - poliorcetics:ip-addr-remove-rejected-errata, r=nikomatsakis
Remove links to rejected errata 4406 for RFC 4291 Fixes #74198. For now I simply removed the links, the docs seems clear enough to me but I'm no expert in the domain so don't hesitate to correct me if more is needed. cc @ghanan94. @rustbot modify labels: T-doc, T-libs
2 parents db0492a + 90d0052 commit acad0a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/std/src/net/ip.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1265,15 +1265,15 @@ impl Ipv6Addr {
12651265
/// # See also
12661266
///
12671267
/// - [IETF RFC 4291 section 2.5.6]
1268-
/// - [RFC 4291 errata 4406]
1268+
/// - [RFC 4291 errata 4406] (which has been rejected but provides useful
1269+
/// insight)
12691270
/// - [`is_unicast_link_local()`]
12701271
///
12711272
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
12721273
/// [IETF RFC 4291 section 2.5.6]: https://tools.ietf.org/html/rfc4291#section-2.5.6
12731274
/// [`true`]: ../../std/primitive.bool.html
12741275
/// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
12751276
/// [`is_unicast_link_local()`]: ../../std/net/struct.Ipv6Addr.html#method.is_unicast_link_local
1276-
///
12771277
pub fn is_unicast_link_local_strict(&self) -> bool {
12781278
(self.segments()[0] & 0xffff) == 0xfe80
12791279
&& (self.segments()[1] & 0xffff) == 0
@@ -1324,13 +1324,13 @@ impl Ipv6Addr {
13241324
/// # See also
13251325
///
13261326
/// - [IETF RFC 4291 section 2.4]
1327-
/// - [RFC 4291 errata 4406]
1327+
/// - [RFC 4291 errata 4406] (which has been rejected but provides useful
1328+
/// insight)
13281329
///
13291330
/// [IETF RFC 4291 section 2.4]: https://tools.ietf.org/html/rfc4291#section-2.4
13301331
/// [`true`]: ../../std/primitive.bool.html
13311332
/// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
13321333
/// [`is_unicast_link_local_strict()`]: ../../std/net/struct.Ipv6Addr.html#method.is_unicast_link_local_strict
1333-
///
13341334
pub fn is_unicast_link_local(&self) -> bool {
13351335
(self.segments()[0] & 0xffc0) == 0xfe80
13361336
}

0 commit comments

Comments
 (0)