Skip to content

Commit 36096cf

Browse files
committed
fix broken intra doc links
1 parent 6d0d29e commit 36096cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

library/std/src/net/tcp.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ impl TcpStream {
562562

563563
/// Gets the value of the `IPV6_UNICAST_HOPS` option on this socket.
564564
///
565-
/// For more information about this option, see [`UdpSocket::set_hop_limit_ipv6`].
565+
/// For more information about this option, see [`TcpStream::set_hop_limit_v6`].
566566
///
567567
/// # Examples
568568
///
@@ -602,7 +602,7 @@ impl TcpStream {
602602

603603
/// Gets the value of the `IPV6_MULTICAST_HOPS` option on this socket.
604604
///
605-
/// For more information about this option, see [`UdpSocket::set_hop_limit_ipv6`].
605+
/// For more information about this option, see [`TcpStream::set_multicast_hlim_v6`].
606606
///
607607
/// # Examples
608608
///
@@ -1015,7 +1015,7 @@ impl TcpListener {
10151015

10161016
/// Gets the value of the `IPV6_UNICAST_HOPS` option on this socket.
10171017
///
1018-
/// For more information about this option, see [`UdpSocket::set_hop_limit_ipv6`].
1018+
/// For more information about this option, see [`TcpListener::set_hop_limit_v6`].
10191019
///
10201020
/// # Examples
10211021
///
@@ -1053,7 +1053,7 @@ impl TcpListener {
10531053

10541054
/// Gets the value of the `IPV6_MULTICAST_HOPS` option on this socket.
10551055
///
1056-
/// For more information about this option, see [`UdpSocket::set_hop_limit_ipv6`].
1056+
/// For more information about this option, see [`TcpListener::set_multicast_hlim_v6`].
10571057
///
10581058
/// # Examples
10591059
///

library/std/src/net/udp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ impl UdpSocket {
575575

576576
/// Gets the value of the `IPV6_UNICAST_HOPS` option on this socket.
577577
///
578-
/// For more information about this option, see [`UdpSocket::set_hop_limit_ipv6`].
578+
/// For more information about this option, see [`UdpSocket::set_hop_limit_v6`].
579579
///
580580
/// # Examples
581581
///
@@ -613,7 +613,7 @@ impl UdpSocket {
613613

614614
/// Gets the value of the `IPV6_MULTICAST_HOPS` option on this socket.
615615
///
616-
/// For more information about this option, see [`UdpSocket::set_hop_limit_ipv6`].
616+
/// For more information about this option, see [`UdpSocket::set_multicast_hlim_v6`].
617617
///
618618
/// # Examples
619619
///

0 commit comments

Comments
 (0)