@@ -1581,10 +1581,6 @@ impl<T: Send> error::Error for SendError<T> {
1581
1581
fn description ( & self ) -> & str {
1582
1582
"sending on a closed channel"
1583
1583
}
1584
-
1585
- fn cause ( & self ) -> Option < & dyn error:: Error > {
1586
- None
1587
- }
1588
1584
}
1589
1585
1590
1586
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1624,10 +1620,6 @@ impl<T: Send> error::Error for TrySendError<T> {
1624
1620
}
1625
1621
}
1626
1622
}
1627
-
1628
- fn cause ( & self ) -> Option < & dyn error:: Error > {
1629
- None
1630
- }
1631
1623
}
1632
1624
1633
1625
#[ stable( feature = "mpsc_error_conversions" , since = "1.24.0" ) ]
@@ -1652,10 +1644,6 @@ impl error::Error for RecvError {
1652
1644
fn description ( & self ) -> & str {
1653
1645
"receiving on a closed channel"
1654
1646
}
1655
-
1656
- fn cause ( & self ) -> Option < & dyn error:: Error > {
1657
- None
1658
- }
1659
1647
}
1660
1648
1661
1649
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1685,10 +1673,6 @@ impl error::Error for TryRecvError {
1685
1673
}
1686
1674
}
1687
1675
}
1688
-
1689
- fn cause ( & self ) -> Option < & dyn error:: Error > {
1690
- None
1691
- }
1692
1676
}
1693
1677
1694
1678
#[ stable( feature = "mpsc_error_conversions" , since = "1.24.0" ) ]
@@ -1726,10 +1710,6 @@ impl error::Error for RecvTimeoutError {
1726
1710
}
1727
1711
}
1728
1712
}
1729
-
1730
- fn cause ( & self ) -> Option < & dyn error:: Error > {
1731
- None
1732
- }
1733
1713
}
1734
1714
1735
1715
#[ stable( feature = "mpsc_error_conversions" , since = "1.24.0" ) ]
0 commit comments