File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ impl File {
646646 ///
647647 /// Note that this method alters the permissions of the underlying file,
648648 /// even though it takes `&self` rather than `&mut self`.
649- #[ doc( alias = "fchmod" , alias = "chmod" , alias = " SetFileInformationByHandle") ]
649+ #[ doc( alias = "fchmod" , alias = "SetFileInformationByHandle" ) ]
650650 #[ stable( feature = "set_permissions_atomic" , since = "1.16.0" ) ]
651651 pub fn set_permissions ( & self , perm : Permissions ) -> io:: Result < ( ) > {
652652 self . inner . set_permissions ( perm. 0 )
Original file line number Diff line number Diff line change @@ -601,7 +601,6 @@ impl TcpStream {
601601 /// };
602602 /// println!("bytes: {buf:?}");
603603 /// ```
604- #[ doc( alias = "fcntl" , alias = "ioctlsocket" , alias = "FIONBIO" ) ]
605604 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
606605 pub fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
607606 self . 0 . set_nonblocking ( nonblocking)
@@ -1009,7 +1008,6 @@ impl TcpListener {
10091008 /// }
10101009 /// }
10111010 /// ```
1012- #[ doc( alias = "fcntl" , alias = "ioctlsocket" , alias = "FIONBIO" ) ]
10131011 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
10141012 pub fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
10151013 self . 0 . set_nonblocking ( nonblocking)
Original file line number Diff line number Diff line change @@ -784,7 +784,6 @@ impl UdpSocket {
784784 /// };
785785 /// println!("bytes: {:?}", &buf[..num_bytes_read]);
786786 /// ```
787- #[ doc( alias = "fcntl" , alias = "ioctlsocket" , alias = "FIONBIO" ) ]
788787 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
789788 pub fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
790789 self . 0 . set_nonblocking ( nonblocking)
You can’t perform that action at this time.
0 commit comments