Skip to content

Commit 031fd03

Browse files
authored
Merge pull request #684 from chrysn-pull-requests/io-error-implicit
io: Remove redundant requirement on Debug
2 parents de0d966 + 727422e commit 031fd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded-io/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl From<std::io::ErrorKind> for ErrorKind {
172172
///
173173
/// This trait allows generic code to do limited inspecting of errors,
174174
/// to react differently to different kinds.
175-
pub trait Error: fmt::Debug + core::error::Error {
175+
pub trait Error: core::error::Error {
176176
/// Get the kind of this error.
177177
fn kind(&self) -> ErrorKind;
178178
}

0 commit comments

Comments
 (0)