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

Clarify limits on return values of AsyncWrite::poll_write. #3820

Merged
merged 1 commit into from May 31, 2021
Merged

Clarify limits on return values of AsyncWrite::poll_write. #3820

merged 1 commit into from May 31, 2021

Conversation

edward-shen
Copy link
Contributor

Motivation

Fixes #3819.

Solution

Clarified documentation, using the text from std::io::Write as a model.

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-io Module: tokio/io T-docs Topic: documentation labels May 27, 2021
@taiki-e taiki-e merged commit bdd6765 into tokio-rs:master May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-io Module: tokio/io T-docs Topic: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

io: write_all panics if underlying AsyncWrite returns value larger than provided bytes size
3 participants