diff options
| author | bors <bors@rust-lang.org> | 2015-06-21 08:20:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-06-21 08:20:36 +0000 |
| commit | a38e7585fc29289581e6cefcdf9e201c3d58ed14 (patch) | |
| tree | 2818921853d83b95378dfb31c3b0758c76c43ffd | |
| parent | 1ec599c5c1e6313b80d6a01dce0e713d9b2bff38 (diff) | |
| parent | 7543edc851727d10c6a2f3406b8f99715c0e6deb (diff) | |
| download | rust-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.rs | 3 |
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 { |
