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

util: deduplicate implementations of poll_read_buf() #3064

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

djc
Copy link
Contributor

@djc djc commented Oct 28, 2020

It looks like there are two implementations of poll_read_buf(), which have slightly different implementations although their interface is structurally similar (modulo cosmetic differences). It looks like we can make do with just a single implementation, reducing the amount of code.

@Darksonn Darksonn added A-tokio-util Area: The tokio-util crate C-maintenance Category: PRs that clean code up or issues documenting cleanup. M-io Module: tokio/io labels Oct 28, 2020
@Darksonn Darksonn merged commit a3ef4e4 into tokio-rs:master Oct 29, 2020
djc added a commit to djc/tokio that referenced this pull request Oct 30, 2020
djc added a commit to djc/tokio that referenced this pull request Oct 30, 2020
djc added a commit to djc/tokio that referenced this pull request Oct 30, 2020
Darksonn pushed a commit that referenced this pull request Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio-util Area: The tokio-util crate C-maintenance Category: PRs that clean code up or issues documenting cleanup. M-io Module: tokio/io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants