@@ -7,15 +7,15 @@ use std::fmt;
77///
88/// The error contains the message so it can be recovered.
99///
10- /// [`send`]: struct. Sender.html#method. send
10+ /// [`send`]: super:: Sender:: send
1111#[ derive( PartialEq , Eq , Clone , Copy ) ]
1212pub struct SendError < T > ( pub T ) ;
1313
1414/// An error returned from the [`try_send`] method.
1515///
1616/// The error contains the message being sent so it can be recovered.
1717///
18- /// [`try_send`]: struct. Sender.html#method. try_send
18+ /// [`try_send`]: super:: Sender:: try_send
1919#[ derive( PartialEq , Eq , Clone , Copy ) ]
2020pub enum TrySendError < T > {
2121 /// The message could not be sent because the channel is full.
@@ -32,7 +32,7 @@ pub enum TrySendError<T> {
3232///
3333/// The error contains the message being sent so it can be recovered.
3434///
35- /// [`send_timeout`]: struct. Sender.html#method. send_timeout
35+ /// [`send_timeout`]: super:: Sender:: send_timeout
3636#[ derive( PartialEq , Eq , Clone , Copy ) ]
3737pub enum SendTimeoutError < T > {
3838 /// The message could not be sent because the channel is full and the operation timed out.
@@ -49,13 +49,13 @@ pub enum SendTimeoutError<T> {
4949///
5050/// A message could not be received because the channel is empty and disconnected.
5151///
52- /// [`recv`]: struct. Receiver.html#method. recv
52+ /// [`recv`]: super:: Receiver:: recv
5353#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
5454pub struct RecvError ;
5555
5656/// An error returned from the [`try_recv`] method.
5757///
58- /// [`try_recv`]: struct. Receiver.html#method.recv
58+ /// [`try_recv`]: super:: Receiver::try_recv
5959#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
6060pub enum TryRecvError {
6161 /// A message could not be received because the channel is empty.
@@ -70,7 +70,7 @@ pub enum TryRecvError {
7070
7171/// An error returned from the [`recv_timeout`] method.
7272///
73- /// [`recv_timeout`]: struct. Receiver.html#method. recv_timeout
73+ /// [`recv_timeout`]: super:: Receiver:: recv_timeout
7474#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
7575pub enum RecvTimeoutError {
7676 /// A message could not be received because the channel is empty and the operation timed out.
@@ -87,31 +87,31 @@ pub enum RecvTimeoutError {
8787///
8888/// Failed because none of the channel operations were ready.
8989///
90- /// [`try_select`]: struct. Select.html#method. try_select
90+ /// [`try_select`]: super:: Select:: try_select
9191#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
9292pub struct TrySelectError ;
9393
9494/// An error returned from the [`select_timeout`] method.
9595///
9696/// Failed because none of the channel operations became ready before the timeout.
9797///
98- /// [`select_timeout`]: struct. Select.html#method. select_timeout
98+ /// [`select_timeout`]: super:: Select:: select_timeout
9999#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
100100pub struct SelectTimeoutError ;
101101
102102/// An error returned from the [`try_ready`] method.
103103///
104104/// Failed because none of the channel operations were ready.
105105///
106- /// [`try_ready`]: struct. Select.html#method. try_ready
106+ /// [`try_ready`]: super:: Select:: try_ready
107107#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
108108pub struct TryReadyError ;
109109
110110/// An error returned from the [`ready_timeout`] method.
111111///
112112/// Failed because none of the channel operations became ready before the timeout.
113113///
114- /// [`ready_timeout`]: struct. Select.html#method. ready_timeout
114+ /// [`ready_timeout`]: super:: Select:: ready_timeout
115115#[ derive( PartialEq , Eq , Clone , Copy , Debug ) ]
116116pub struct ReadyTimeoutError ;
117117
0 commit comments