about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-10-03 23:13:21 -0700
committerGitHub <noreply@github.com>2021-10-03 23:13:21 -0700
commitc167eeedf416061eb5875b22c5038b5ae818da7c (patch)
tree8ae2f2412fa66fe8076eb8b60b9582c3a74289ba
parent5215b855b0e4c84cbcaa3c7afa06f8e3d89f7ca8 (diff)
parenta993d7d963eba62c9f4598923dab6306825d5ff2 (diff)
Rollup merge of #89138 - newpavlov:patch-2, r=dtolnay
Fix link in Ipv6Addr::to_ipv4 docs
-rw-r--r--library/std/src/net/ip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs
index e9c87689d23..c05a32742ba 100644
--- a/library/std/src/net/ip.rs
+++ b/library/std/src/net/ip.rs
@@ -1635,7 +1635,7 @@ impl Ipv6Addr {
     /// `::a.b.c.d` and `::ffff:a.b.c.d` become `a.b.c.d`
     /// All addresses *not* starting with either all zeroes or `::ffff` will return `None`.
     ///
-    /// [IPv4 address]: Ipv4Addr
+    /// [`IPv4` address]: Ipv4Addr
     /// [IPv4-compatible]: Ipv6Addr#ipv4-compatible-ipv6-addresses
     /// [IPv4-mapped]: Ipv6Addr#ipv4-mapped-ipv6-addresses
     /// [IETF RFC 4291 section 2.5.5.1]: https://tools.ietf.org/html/rfc4291#section-2.5.5.1