File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ pub const MODE_3: Mode = Mode {
221221} ;
222222
223223/// SPI error.
224- pub trait Error : core :: fmt :: Debug {
224+ pub trait Error : Debug {
225225 /// Convert error to a generic SPI error kind.
226226 ///
227227 /// By using this method, SPI errors freely defined by HAL implementations
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ impl From<std::io::ErrorKind> for ErrorKind {
175175///
176176/// This trait allows generic code to do limited inspecting of errors,
177177/// to react differently to different kinds.
178- pub trait Error : core :: fmt:: Debug {
178+ pub trait Error : fmt:: Debug {
179179 /// Get the kind of this error.
180180 fn kind ( & self ) -> ErrorKind ;
181181}
@@ -194,8 +194,8 @@ impl Error for ErrorKind {
194194
195195#[ cfg( feature = "std" ) ]
196196#[ cfg_attr( docsrs, doc( cfg( feature = "std" ) ) ) ]
197- impl crate :: Error for std:: io:: Error {
198- fn kind ( & self ) -> crate :: ErrorKind {
197+ impl Error for std:: io:: Error {
198+ fn kind ( & self ) -> ErrorKind {
199199 self . kind ( ) . into ( )
200200 }
201201}
You can’t perform that action at this time.
0 commit comments