Skip to content

Commit a993d7d

Browse files
authored
Fix link in Ipv6Addr::to_ipv4 docs
1 parent e7958d3 commit a993d7d

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
@@ -1589,7 +1589,7 @@ impl Ipv6Addr {
15891589
/// `::a.b.c.d` and `::ffff:a.b.c.d` become `a.b.c.d`
15901590
/// All addresses *not* starting with either all zeroes or `::ffff` will return `None`.
15911591
///
1592-
/// [IPv4 address]: Ipv4Addr
1592+
/// [`IPv4` address]: Ipv4Addr
15931593
/// [IPv4-compatible]: Ipv6Addr#ipv4-compatible-ipv6-addresses
15941594
/// [IPv4-mapped]: Ipv6Addr#ipv4-mapped-ipv6-addresses
15951595
/// [IETF RFC 4291 section 2.5.5.1]: https://tools.ietf.org/html/rfc4291#section-2.5.5.1

0 commit comments

Comments
 (0)