We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6b10a6 commit 9076b0aCopy full SHA for 9076b0a
1 file changed
embedded-io/src/lib.rs
@@ -174,7 +174,7 @@ impl From<std::io::ErrorKind> for ErrorKind {
174
///
175
/// This trait allows generic code to do limited inspecting of errors,
176
/// to react differently to different kinds.
177
-pub trait Error: core::error::Error {
+pub trait Error: core::error::Error + 'static {
178
/// Get the kind of this error.
179
fn kind(&self) -> ErrorKind;
180
}
0 commit comments