diff --git a/src/libstd/net/udp.rs b/src/libstd/net/udp.rs index 4683c7061c3c..9d0279deb1bc 100644 --- a/src/libstd/net/udp.rs +++ b/src/libstd/net/udp.rs @@ -324,7 +324,7 @@ pub fn recv(&self, buf: &mut [u8]) -> io::Result { 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.