Rollup merge of #33200 - sfackler:nonblocking-docs, r=alexcrichton

Fix reference to TCP in UDP docs

Closees #33195
This commit is contained in:
Manish Goregaokar 2016-04-26 01:44:52 +05:30
commit 3dc0b55a47

View File

@ -324,7 +324,7 @@ impl UdpSocket {
self.0.recv(buf)
}
/// Moves this TCP stream into or out of nonblocking mode.
/// Moves this UDP socket into or out of nonblocking mode.
///
/// On Unix this corresponds to calling fcntl, and on Windows this
/// corresponds to calling ioctlsocket.