@@ -292,8 +292,8 @@ impl fmt::Display for ConnectorErrorKind {
292292 }
293293}
294294
295- impl std :: error:: Error for ConnectorErrorKind {
296- fn source ( & self ) -> Option < & ( dyn std :: error:: Error + ' static ) > {
295+ impl core :: error:: Error for ConnectorErrorKind {
296+ fn source ( & self ) -> Option < & ( dyn core :: error:: Error + ' static ) > {
297297 match & self {
298298 ConnectorErrorKind :: Encode ( e) => Some ( e) ,
299299 ConnectorErrorKind :: Decode ( e) => Some ( e) ,
@@ -315,7 +315,7 @@ pub trait ConnectorErrorExt {
315315 fn reason ( context : & ' static str , reason : impl Into < String > ) -> Self ;
316316 fn custom < E > ( context : & ' static str , e : E ) -> Self
317317 where
318- E : std :: error:: Error + Sync + Send + ' static ;
318+ E : core :: error:: Error + Sync + Send + ' static ;
319319}
320320
321321impl ConnectorErrorExt for ConnectorError {
@@ -337,7 +337,7 @@ impl ConnectorErrorExt for ConnectorError {
337337
338338 fn custom < E > ( context : & ' static str , e : E ) -> Self
339339 where
340- E : std :: error:: Error + Sync + Send + ' static ,
340+ E : core :: error:: Error + Sync + Send + ' static ,
341341 {
342342 Self :: new ( context, ConnectorErrorKind :: Custom ) . with_source ( e)
343343 }
@@ -349,7 +349,7 @@ pub trait ConnectorResultExt {
349349 #[ must_use]
350350 fn with_source < E > ( self , source : E ) -> Self
351351 where
352- E : std :: error:: Error + Sync + Send + ' static ;
352+ E : core :: error:: Error + Sync + Send + ' static ;
353353}
354354
355355impl < T > ConnectorResultExt for ConnectorResult < T > {
@@ -362,7 +362,7 @@ impl<T> ConnectorResultExt for ConnectorResult<T> {
362362
363363 fn with_source < E > ( self , source : E ) -> Self
364364 where
365- E : std :: error:: Error + Sync + Send + ' static ,
365+ E : core :: error:: Error + Sync + Send + ' static ,
366366 {
367367 self . map_err ( |e| e. with_source ( source) )
368368 }
0 commit comments