]> git.proxmox.com Git - rustc.git/blobdiff - src/libstd/net/mod.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / libstd / net / mod.rs
index ac13b23ebee50256b70f780917b182f77ffce26b..11a16b271133be76cbc9ca1c386588a43b091ae6 100644 (file)
@@ -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 {