File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ pub const MODE_3: Mode = Mode {
221
221
} ;
222
222
223
223
/// SPI error.
224
- pub trait Error : core :: fmt :: Debug {
224
+ pub trait Error : Debug {
225
225
/// Convert error to a generic SPI error kind.
226
226
///
227
227
/// 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 {
175
175
///
176
176
/// This trait allows generic code to do limited inspecting of errors,
177
177
/// to react differently to different kinds.
178
- pub trait Error : core :: fmt:: Debug {
178
+ pub trait Error : fmt:: Debug {
179
179
/// Get the kind of this error.
180
180
fn kind ( & self ) -> ErrorKind ;
181
181
}
@@ -194,8 +194,8 @@ impl Error for ErrorKind {
194
194
195
195
#[ cfg( feature = "std" ) ]
196
196
#[ 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 {
199
199
self . kind ( ) . into ( )
200
200
}
201
201
}
You can’t perform that action at this time.
0 commit comments