We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bba7a6d + d02f6db commit 20e5484Copy full SHA for 20e5484
embedded-io/src/lib.rs
@@ -176,7 +176,7 @@ impl From<std::io::ErrorKind> for ErrorKind {
176
///
177
/// This trait allows generic code to do limited inspecting of errors,
178
/// to react differently to different kinds.
179
-pub trait Error: fmt::Debug {
+pub trait Error: fmt::Debug + core::error::Error {
180
/// Get the kind of this error.
181
fn kind(&self) -> ErrorKind;
182
}
0 commit comments