@@ -1461,7 +1461,7 @@ impl crate::Socket {
1461
1461
///
1462
1462
/// For more information about this option, see [`set_cork`].
1463
1463
///
1464
- /// [`set_cork`]: Socket::set_cork
1464
+ /// [`set_cork`]: crate:: Socket::set_cork
1465
1465
#[ cfg( all(
1466
1466
feature = "all" ,
1467
1467
any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
@@ -1512,7 +1512,7 @@ impl crate::Socket {
1512
1512
///
1513
1513
/// For more information about this option, see [`set_quickack`].
1514
1514
///
1515
- /// [`set_quickack`]: Socket::set_quickack
1515
+ /// [`set_quickack`]: crate:: Socket::set_quickack
1516
1516
#[ cfg( all(
1517
1517
feature = "all" ,
1518
1518
any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
@@ -1563,7 +1563,7 @@ impl crate::Socket {
1563
1563
///
1564
1564
/// For more information about this option, see [`set_thin_linear_timeouts`].
1565
1565
///
1566
- /// [`set_thin_linear_timeouts`]: Socket::set_thin_linear_timeouts
1566
+ /// [`set_thin_linear_timeouts`]: crate:: Socket::set_thin_linear_timeouts
1567
1567
#[ cfg( all(
1568
1568
feature = "all" ,
1569
1569
any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
@@ -2225,7 +2225,7 @@ impl crate::Socket {
2225
2225
///
2226
2226
/// For more information about this option, see [`set_tcp_user_timeout`].
2227
2227
///
2228
- /// [`set_tcp_user_timeout`]: Socket::set_tcp_user_timeout
2228
+ /// [`set_tcp_user_timeout`]: crate:: Socket::set_tcp_user_timeout
2229
2229
#[ cfg( all(
2230
2230
feature = "all" ,
2231
2231
any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
@@ -2276,6 +2276,8 @@ impl crate::Socket {
2276
2276
/// Detach Berkeley Packet Filter(BPF) from this socket.
2277
2277
///
2278
2278
/// For more information about this option, see [`attach_filter`]
2279
+ ///
2280
+ /// [`attach_filter`]: crate::Socket::attach_filter
2279
2281
#[ cfg( all( feature = "all" , any( target_os = "linux" , target_os = "android" ) ) ) ]
2280
2282
pub fn detach_filter ( & self ) -> io:: Result < ( ) > {
2281
2283
unsafe { setsockopt ( self . as_raw ( ) , libc:: SOL_SOCKET , libc:: SO_DETACH_FILTER , 0 ) }
@@ -2285,7 +2287,7 @@ impl crate::Socket {
2285
2287
///
2286
2288
/// For more information about this option, see [`set_tclass_v6`].
2287
2289
///
2288
- /// [`set_tclass_v6`]: Socket::set_tclass_v6
2290
+ /// [`set_tclass_v6`]: crate:: Socket::set_tclass_v6
2289
2291
#[ cfg( all(
2290
2292
feature = "all" ,
2291
2293
any(
@@ -2370,7 +2372,7 @@ impl crate::Socket {
2370
2372
///
2371
2373
/// For more information about this option, see [`set_tcp_congestion`].
2372
2374
///
2373
- /// [`set_tcp_congestion`]: Socket::set_tcp_congestion
2375
+ /// [`set_tcp_congestion`]: crate:: Socket::set_tcp_congestion
2374
2376
#[ cfg( all( feature = "all" , any( target_os = "freebsd" , target_os = "linux" ) ) ) ]
2375
2377
#[ cfg_attr(
2376
2378
docsrs,
0 commit comments