about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-21 08:20:36 +0000
committerbors <bors@rust-lang.org>2015-06-21 08:20:36 +0000
commita38e7585fc29289581e6cefcdf9e201c3d58ed14 (patch)
tree2818921853d83b95378dfb31c3b0758c76c43ffd
parent1ec599c5c1e6313b80d6a01dce0e713d9b2bff38 (diff)
parent7543edc851727d10c6a2f3406b8f99715c0e6deb (diff)
downloadrust-a38e7585fc29289581e6cefcdf9e201c3d58ed14.tar.gz
rust-a38e7585fc29289581e6cefcdf9e201c3d58ed14.zip
Auto merge of #26457 - meqif:master, r=alexcrichton
The documentation of `std::net::Shutdown` mentions says it can be passed to the `shutdown` method of `UdpSocket`, which isn't true because `UdpSocket` has no such method. This commit removes that mention.
-rw-r--r--src/libstd/net/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/net/mod.rs b/src/libstd/net/mod.rs
index a79a451305d..1cb8c187030 100644
--- a/src/libstd/net/mod.rs
+++ b/src/libstd/net/mod.rs
@@ -30,8 +30,7 @@ mod udp;
 mod parser;
 #[cfg(test)] mod test;
 
-/// Possible values which can be passed to the `shutdown` method of `TcpStream`
-/// and `UdpSocket`.
+/// Possible values which can be passed to the `shutdown` method of `TcpStream`.
 #[derive(Copy, Clone, PartialEq, Debug)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub enum Shutdown {