diff --git a/CHANGELOG.md b/CHANGELOG.md index 6711190..d2d1955 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. user explicitly enables. This is a breaking change. - Upgrade to Rust 2024 edition. This also bumps the MSRV to 1.85.0 +### Fixed +- Make Debug impl on SendError include the channel message type, instead of just saying + `"SendError(_)"`. + ## [0.1.12] - 2026-01-25 ### Fixed diff --git a/src/errors.rs b/src/errors.rs index a8fb24d..67ea13c 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -85,7 +85,7 @@ impl fmt::Display for SendError { impl fmt::Debug for SendError { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "SendError<{}>(_)", stringify!(T)) + write!(f, "SendError<{}>(_)", core::any::type_name::()) } }