Skip to content

Add channel message type to Debug format of SendError#85

Merged
faern merged 1 commit into
mainfrom
senderror-debug-impl-with-type
Feb 23, 2026
Merged

Add channel message type to Debug format of SendError#85
faern merged 1 commit into
mainfrom
senderror-debug-impl-with-type

Conversation

@faern
Copy link
Copy Markdown
Owner

@faern faern commented Feb 23, 2026

Fix bug in Debug impl of SendError. It was always being converted to the String SendError<T>(_) no matter what T was. It was supposed to be SendError<u32>(_) for a channel carrying a u32 etc.

@faern faern force-pushed the senderror-debug-impl-with-type branch from 8e5dd26 to 03f5950 Compare February 23, 2026 09:50
@faern
Copy link
Copy Markdown
Owner Author

faern commented Feb 23, 2026

Dropping the tests, since core::any::type_name() does not guarantee a specific format.

@faern faern force-pushed the senderror-debug-impl-with-type branch from 03f5950 to b433a5b Compare February 23, 2026 19:33
@faern faern merged commit b433a5b into main Feb 23, 2026
15 of 21 checks passed
@faern faern deleted the senderror-debug-impl-with-type branch February 23, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant