Fix reference to TCP in UDP docs

Closees #33195
This commit is contained in:
Steven Fackler 2016-04-25 09:12:51 -07:00
parent cfae4dea87
commit 379e6fc5be

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.