about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2016-04-25 09:12:51 -0700
committerSteven Fackler <sfackler@gmail.com>2016-04-25 09:12:51 -0700
commit379e6fc5bee3eb472c8a040c1ba16e391d2aa2b7 (patch)
treec6b8d206a2c6666965db63f9fc84782e828aa83d /src/libstd
parentcfae4dea875ddcc5f23481106a149ea15b6be1e5 (diff)
downloadrust-379e6fc5bee3eb472c8a040c1ba16e391d2aa2b7.tar.gz
rust-379e6fc5bee3eb472c8a040c1ba16e391d2aa2b7.zip
Fix reference to TCP in UDP docs
Closees #33195
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/net/udp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net/udp.rs b/src/libstd/net/udp.rs
index 4683c7061c3..9d0279deb1b 100644
--- a/src/libstd/net/udp.rs
+++ b/src/libstd/net/udp.rs
@@ -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.