File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,9 @@ impl Socket {
202202 /// options can be safely set before and after connecting the socket.
203203 ///
204204 /// On Cygwin, a Unix domain socket connect blocks until the server accepts
205- /// it. If the behavior is not expected, try [`Socket::set_no_peercred`].
205+ /// it. If the behavior is not expected, try [`Socket::set_no_peercred`]
206+ /// (Cygwin only).
207+ #[ allow( rustdoc:: broken_intra_doc_links) ] // Socket::set_no_peercred
206208 pub fn connect ( & self , address : & SockAddr ) -> io:: Result < ( ) > {
207209 sys:: connect ( self . as_raw ( ) , address)
208210 }
@@ -267,7 +269,9 @@ impl Socket {
267269 /// # Notes
268270 ///
269271 /// On Cygwin, a Unix domain socket connect blocks until the server accepts
270- /// it. If the behavior is not expected, try [`Socket::set_no_peercred`].
272+ /// it. If the behavior is not expected, try [`Socket::set_no_peercred`]
273+ /// (Cygwin only).
274+ #[ allow( rustdoc:: broken_intra_doc_links) ] // Socket::set_no_peercred
271275 pub fn accept ( & self ) -> io:: Result < ( Socket , SockAddr ) > {
272276 // Use `accept4` on platforms that support it.
273277 #[ cfg( any(
You can’t perform that action at this time.
0 commit comments