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.
1 parent 3f83185 commit d02f6dbCopy full SHA for d02f6db
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