diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-08-01 20:21:08 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2016-08-01 20:21:08 -0400 |
| commit | f2d8db15dfe9b715f0e0a957440d79945270a20f (patch) | |
| tree | a54a743b034187ce3fb4f9b6835e5a20b41d685c /src/libstd/net | |
| parent | 57e3b9eb713f44a9dce97be5840c536bd7a86069 (diff) | |
| download | rust-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.rs | 6 |
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 { |
