From 727422e65356ea88230da66a334b6e006a3f88af Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 19 Aug 2025 13:36:27 +0200 Subject: [PATCH] io: Remove redundant requirement on Debug core::error::Error already depends on Debug, thus this is a compatible simplification. --- embedded-io/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedded-io/src/lib.rs b/embedded-io/src/lib.rs index 4f417f12..9e2e528a 100644 --- a/embedded-io/src/lib.rs +++ b/embedded-io/src/lib.rs @@ -172,7 +172,7 @@ impl From for ErrorKind { /// /// This trait allows generic code to do limited inspecting of errors, /// to react differently to different kinds. -pub trait Error: fmt::Debug + core::error::Error { +pub trait Error: core::error::Error { /// Get the kind of this error. fn kind(&self) -> ErrorKind; }