Rollup merge of #46323 - ia0:fix_mpsc_error_conv, r=kennytm
Fix since for mpsc_error_conversions This is a followup of #45506.
This commit is contained in:
commit
30f1853649
1 changed files with 3 additions and 3 deletions
|
@ -1686,7 +1686,7 @@ impl<T: Send> error::Error for TrySendError<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "mpsc_error_conversions", since = "1.23.0")]
|
||||
#[stable(feature = "mpsc_error_conversions", since = "1.24.0")]
|
||||
impl<T> From<SendError<T>> for TrySendError<T> {
|
||||
fn from(err: SendError<T>) -> TrySendError<T> {
|
||||
match err {
|
||||
|
@ -1747,7 +1747,7 @@ impl error::Error for TryRecvError {
|
|||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "mpsc_error_conversions", since = "1.23.0")]
|
||||
#[stable(feature = "mpsc_error_conversions", since = "1.24.0")]
|
||||
impl From<RecvError> for TryRecvError {
|
||||
fn from(err: RecvError) -> TryRecvError {
|
||||
match err {
|
||||
|
@ -1788,7 +1788,7 @@ impl error::Error for RecvTimeoutError {
|
|||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "mpsc_error_conversions", since = "1.23.0")]
|
||||
#[stable(feature = "mpsc_error_conversions", since = "1.24.0")]
|
||||
impl From<RecvError> for RecvTimeoutError {
|
||||
fn from(err: RecvError) -> RecvTimeoutError {
|
||||
match err {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue