Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove T: Debug flag on mpsc Debug impls #866

Merged
merged 1 commit into from Jan 23, 2019

Conversation

jonhoo
Copy link
Sponsor Contributor

@jonhoo jonhoo commented Jan 23, 2019

Following from #865, this PR removes #[derive(Debug)] on mpsc sender and receiver types in favor of explicit impl fmt::Debug blocks that don't have a T: fmt::Debug bound.

@jonhoo jonhoo changed the title Debug sender no t debug Remove T: Debug flag on mpsc Debug impls Jan 23, 2019
@jonhoo jonhoo requested a review from a user January 23, 2019 20:28
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good 👍

Following from tokio-rs#865, this PR
removes `#[derive(Debug)]` on `mpsc` sender and receiver types in favor
of explicit `impl fmt::Debug` blocks that don't have a `T: fmt::Debug`
bound.
@jonhoo jonhoo merged commit c6f8bdb into tokio-rs:master Jan 23, 2019
@jonhoo jonhoo deleted the debug-sender-no-t-debug branch September 19, 2019 17:10
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.

None yet

1 participant