about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtyom Pavlov <newpavlov@gmail.com>2021-09-21 05:36:03 +0000
committerGitHub <noreply@github.com>2021-09-21 05:36:03 +0000
commita993d7d963eba62c9f4598923dab6306825d5ff2 (patch)
treea7b110bbfda38e9814ddf84c3f7bbe069fc4e2b0
parente7958d35ca2c898a223efe402481e0ecb854310a (diff)
downloadrust-a993d7d963eba62c9f4598923dab6306825d5ff2.tar.gz
rust-a993d7d963eba62c9f4598923dab6306825d5ff2.zip
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 9cf7ba9d574..76a724209e7 100644
--- a/library/std/src/net/ip.rs
+++ b/library/std/src/net/ip.rs
@@ -1589,7 +1589,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