Skip to content

Commit c167eee

Browse files
authored
Rollup merge of #89138 - newpavlov:patch-2, r=dtolnay
Fix link in Ipv6Addr::to_ipv4 docs
2 parents 5215b85 + a993d7d commit c167eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/net/ip.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ impl Ipv6Addr {
16351635
/// `::a.b.c.d` and `::ffff:a.b.c.d` become `a.b.c.d`
16361636
/// All addresses *not* starting with either all zeroes or `::ffff` will return `None`.
16371637
///
1638-
/// [IPv4 address]: Ipv4Addr
1638+
/// [`IPv4` address]: Ipv4Addr
16391639
/// [IPv4-compatible]: Ipv6Addr#ipv4-compatible-ipv6-addresses
16401640
/// [IPv4-mapped]: Ipv6Addr#ipv4-mapped-ipv6-addresses
16411641
/// [IETF RFC 4291 section 2.5.5.1]: https://tools.ietf.org/html/rfc4291#section-2.5.5.1

0 commit comments

Comments
 (0)