@@ -132,7 +132,7 @@ impl<T: Send> error::Error for SendError<T> {
132132 "sending on a disconnected channel"
133133 }
134134
135- fn cause ( & self ) -> Option < & error:: Error > {
135+ fn cause ( & self ) -> Option < & dyn error:: Error > {
136136 None
137137 }
138138}
@@ -183,7 +183,7 @@ impl<T: Send> error::Error for TrySendError<T> {
183183 }
184184 }
185185
186- fn cause ( & self ) -> Option < & error:: Error > {
186+ fn cause ( & self ) -> Option < & dyn error:: Error > {
187187 None
188188 }
189189}
@@ -254,7 +254,7 @@ impl<T: Send> error::Error for SendTimeoutError<T> {
254254 "sending on an empty and disconnected channel"
255255 }
256256
257- fn cause ( & self ) -> Option < & error:: Error > {
257+ fn cause ( & self ) -> Option < & dyn error:: Error > {
258258 None
259259 }
260260}
@@ -317,7 +317,7 @@ impl error::Error for RecvError {
317317 "receiving on an empty and disconnected channel"
318318 }
319319
320- fn cause ( & self ) -> Option < & error:: Error > {
320+ fn cause ( & self ) -> Option < & dyn error:: Error > {
321321 None
322322 }
323323}
@@ -339,7 +339,7 @@ impl error::Error for TryRecvError {
339339 }
340340 }
341341
342- fn cause ( & self ) -> Option < & error:: Error > {
342+ fn cause ( & self ) -> Option < & dyn error:: Error > {
343343 None
344344 }
345345}
@@ -387,7 +387,7 @@ impl error::Error for RecvTimeoutError {
387387 }
388388 }
389389
390- fn cause ( & self ) -> Option < & error:: Error > {
390+ fn cause ( & self ) -> Option < & dyn error:: Error > {
391391 None
392392 }
393393}
@@ -429,7 +429,7 @@ impl error::Error for TrySelectError {
429429 "all operations in select would block"
430430 }
431431
432- fn cause ( & self ) -> Option < & error:: Error > {
432+ fn cause ( & self ) -> Option < & dyn error:: Error > {
433433 None
434434 }
435435}
@@ -445,7 +445,7 @@ impl error::Error for SelectTimeoutError {
445445 "timed out waiting on select"
446446 }
447447
448- fn cause ( & self ) -> Option < & error:: Error > {
448+ fn cause ( & self ) -> Option < & dyn error:: Error > {
449449 None
450450 }
451451}
0 commit comments