Skip to content

Commit d145d1e

Browse files
authored
Rollup merge of #66372 - ogham:patch-2, r=jonas-schievink
Fix broken links in Ipv4Addr::is_benchmarking docs [The documentation for `Ipv4Addr::is_benchmarking`](https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_benchmarking) is correct — it has the right RFC number — but the Markdown links are broken. Looks like a copy-and-paste error and a typo. This PR fixes the links to make them clickable.
2 parents 8bd8465 + c154297 commit d145d1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/net/ip.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,8 @@ impl Ipv4Addr {
633633
/// network devices benchmarking. This range is defined in [IETF RFC 2544] as `192.18.0.0`
634634
/// through `198.19.255.255` but [errata 423] corrects it to `198.18.0.0/15`.
635635
///
636-
/// [IETF RFC 1112]: https://tools.ietf.org/html/rfc1112
637-
/// [errate 423]: https://www.rfc-editor.org/errata/eid423
636+
/// [IETF RFC 2544]: https://tools.ietf.org/html/rfc2544
637+
/// [errata 423]: https://www.rfc-editor.org/errata/eid423
638638
/// [`true`]: ../../std/primitive.bool.html
639639
///
640640
/// # Examples

0 commit comments

Comments
 (0)