-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Doc: std::io::Write::write_all
should mention ErrorKind::Interrupted
#38494
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Comments
steveklabnik
removed
the
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
label
Mar 10, 2017
steveklabnik
added
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
and removed
A-docs
labels
Mar 23, 2017
tbu-
added a commit
to tbu-/rust
that referenced
this issue
Apr 21, 2017
Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 25, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 25, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 25, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 26, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Just like
std::io::Read::read_to_end
mentions thatInterruped
errors are safe to ignore,std::io::Write::write_all
should mention thatwrite
too can safely return this error without interruptingwrite_all
.Actually, both
std::io::Read::read
andstd::io::Write::write
could also probably mention this part.The text was updated successfully, but these errors were encountered: