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.
This commit is contained in:
bors 2015-06-21 08:20:36 +00:00
commit a38e7585fc

View File

@ -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 {