File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ impl crate::Socket {
776
776
///
777
777
/// # Notes
778
778
///
779
- /// On supported platforms you can use [`Protocol ::cloexec`].
779
+ /// On supported platforms you can use [`Type ::cloexec`].
780
780
#[ cfg( feature = "all" ) ]
781
781
pub fn set_cloexec ( & self , close_on_exec : bool ) -> io:: Result < ( ) > {
782
782
self . _set_cloexec ( close_on_exec)
@@ -816,7 +816,7 @@ impl crate::Socket {
816
816
///
817
817
/// For more information about this option, see [`set_mss`].
818
818
///
819
- /// [set_mss]: Socket::set_mss
819
+ /// [` set_mss` ]: crate:: Socket::set_mss
820
820
#[ cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ]
821
821
pub fn mss ( & self ) -> io:: Result < u32 > {
822
822
unsafe {
@@ -874,7 +874,7 @@ impl crate::Socket {
874
874
///
875
875
/// This function is only available on Unix.
876
876
///
877
- /// [`set_reuse_port`]: Socket::set_reuse_port
877
+ /// [`set_reuse_port`]: crate:: Socket::set_reuse_port
878
878
#[ cfg( all(
879
879
feature = "all" ,
880
880
not( any( target_os = "solaris" , target_os = "illumos" ) )
You can’t perform that action at this time.
0 commit comments