Skip to content

Commit

Permalink
Link to relevant method/struct for std::net::Shutdown docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Aug 2, 2016
1 parent 57e3b9e commit f2d8db1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libstd/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ mod udp;
mod parser;
#[cfg(test)] mod test;

/// Possible values which can be passed to the `shutdown` method of `TcpStream`.
/// Possible values which can be passed to the [`shutdown`] method of
/// [`TcpStream`].
///
/// [`shutdown`]: struct.TcpStream.html#method.shutdown
/// [`TcpStream`]: struct.TcpStream.html
#[derive(Copy, Clone, PartialEq, Debug)]
#[stable(feature = "rust1", since = "1.0.0")]
pub enum Shutdown {
Expand Down

0 comments on commit f2d8db1

Please sign in to comment.