Skip to content

Commit 3dc0b55

Browse files
committed
Rollup merge of #33200 - sfackler:nonblocking-docs, r=alexcrichton
Fix reference to TCP in UDP docs Closees #33195
2 parents edbb0d5 + 379e6fc commit 3dc0b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/net/udp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl UdpSocket {
324324
self.0.recv(buf)
325325
}
326326

327-
/// Moves this TCP stream into or out of nonblocking mode.
327+
/// Moves this UDP socket into or out of nonblocking mode.
328328
///
329329
/// On Unix this corresponds to calling fcntl, and on Windows this
330330
/// corresponds to calling ioctlsocket.

0 commit comments

Comments
 (0)