File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl<T> fmt::Display for SendTimeoutError<T> {
3535 }
3636}
3737
38- impl < T : Send > error:: Error for SendTimeoutError < T > { }
38+ impl < T > error:: Error for SendTimeoutError < T > { }
3939
4040impl < T > From < SendError < T > > for SendTimeoutError < T > {
4141 fn from ( err : SendError < T > ) -> SendTimeoutError < T > {
Original file line number Diff line number Diff line change @@ -1124,7 +1124,7 @@ impl<T> fmt::Display for SendError<T> {
11241124}
11251125
11261126#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1127- impl < T : Send > error:: Error for SendError < T > {
1127+ impl < T > error:: Error for SendError < T > {
11281128 #[ allow( deprecated) ]
11291129 fn description ( & self ) -> & str {
11301130 "sending on a closed channel"
@@ -1152,7 +1152,7 @@ impl<T> fmt::Display for TrySendError<T> {
11521152}
11531153
11541154#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1155- impl < T : Send > error:: Error for TrySendError < T > {
1155+ impl < T > error:: Error for TrySendError < T > {
11561156 #[ allow( deprecated) ]
11571157 fn description ( & self ) -> & str {
11581158 match * self {
You can’t perform that action at this time.
0 commit comments