@@ -425,6 +425,7 @@ impl Socket {
425
425
///
426
426
/// [`recv`]: Socket::recv
427
427
/// [`out_of_band_inline`]: Socket::out_of_band_inline
428
+ #[ cfg_attr( target_os = "redox" , allow( rustdoc:: broken_intra_doc_links) ) ]
428
429
pub fn recv_out_of_band ( & self , buf : & mut [ MaybeUninit < u8 > ] ) -> io:: Result < usize > {
429
430
self . recv_with_flags ( buf, sys:: MSG_OOB )
430
431
}
@@ -640,7 +641,7 @@ impl Socket {
640
641
/// Identical to [`send`] but allows for specification of arbitrary flags to the underlying
641
642
/// `send` call.
642
643
///
643
- /// [`send`]: #method. send
644
+ /// [`send`]: Socket:: send
644
645
pub fn send_with_flags ( & self , buf : & [ u8 ] , flags : c_int ) -> io:: Result < usize > {
645
646
sys:: send ( self . as_raw ( ) , buf, flags)
646
647
}
@@ -672,8 +673,9 @@ impl Socket {
672
673
///
673
674
/// For more information, see [`send`], [`out_of_band_inline`].
674
675
///
675
- /// [`send`]: #method.send
676
- /// [`out_of_band_inline`]: #method.out_of_band_inline
676
+ /// [`send`]: Socket::send
677
+ /// [`out_of_band_inline`]: Socket::out_of_band_inline
678
+ #[ cfg_attr( target_os = "redox" , allow( rustdoc:: broken_intra_doc_links) ) ]
677
679
pub fn send_out_of_band ( & self , buf : & [ u8 ] ) -> io:: Result < usize > {
678
680
self . send_with_flags ( buf, sys:: MSG_OOB )
679
681
}
@@ -1103,6 +1105,10 @@ impl Socket {
1103
1105
/// [raw(7)]: https://man7.org/linux/man-pages/man7/raw.7.html
1104
1106
/// [`IP_TTL`]: Socket::set_ttl
1105
1107
/// [`IP_TOS`]: Socket::set_tos
1108
+ #[ cfg_attr(
1109
+ any( target_os = "illumos" , target_os = "solaris" ) ,
1110
+ allow( rustdoc:: broken_intra_doc_links)
1111
+ ) ]
1106
1112
#[ cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ]
1107
1113
#[ cfg_attr( docsrs, doc( cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ) ) ]
1108
1114
pub fn set_header_included ( & self , included : bool ) -> io:: Result < ( ) > {
0 commit comments