about summary refs log tree commit diff
path: root/src/libstd/net
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-08-01 20:21:08 -0400
committerCorey Farwell <coreyf@rwell.org>2016-08-01 20:21:08 -0400
commitf2d8db15dfe9b715f0e0a957440d79945270a20f (patch)
treea54a743b034187ce3fb4f9b6835e5a20b41d685c /src/libstd/net
parent57e3b9eb713f44a9dce97be5840c536bd7a86069 (diff)
downloadrust-f2d8db15dfe9b715f0e0a957440d79945270a20f.tar.gz
rust-f2d8db15dfe9b715f0e0a957440d79945270a20f.zip
Link to relevant method/struct for `std::net::Shutdown` docs.
Diffstat (limited to 'src/libstd/net')
-rw-r--r--src/libstd/net/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstd/net/mod.rs b/src/libstd/net/mod.rs
index ac13b23ebee..11a16b27113 100644
--- a/src/libstd/net/mod.rs
+++ b/src/libstd/net/mod.rs
@@ -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 {