File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,11 @@ mod udp;
35
35
mod parser;
36
36
#[ cfg( test) ] mod test;
37
37
38
- /// Possible values which can be passed to the `shutdown` method of `TcpStream`.
38
+ /// Possible values which can be passed to the [`shutdown`] method of
39
+ /// [`TcpStream`].
40
+ ///
41
+ /// [`shutdown`]: struct.TcpStream.html#method.shutdown
42
+ /// [`TcpStream`]: struct.TcpStream.html
39
43
#[ derive( Copy , Clone , PartialEq , Debug ) ]
40
44
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
41
45
pub enum Shutdown {
Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ pub struct TcpListener(net_imp::TcpListener);
77
77
///
78
78
/// This iterator will infinitely yield `Some` of the accepted connections. It
79
79
/// is equivalent to calling `accept` in a loop.
80
+ ///
81
+ /// This `struct` is created by the [`incoming`] method on [`TcpListener`].
82
+ ///
83
+ /// [`incoming`]: struct.TcpListener.html#method.incoming
84
+ /// [`TcpListener`]: struct.TcpListener.html
80
85
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
81
86
pub struct Incoming < ' a > { listener : & ' a TcpListener }
82
87
You can’t perform that action at this time.
0 commit comments