-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: Stdin is not writable #32276
doc: Stdin is not writable #32276
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -141,8 +141,7 @@ fn handle_ebadf<T>(r: io::Result<T>, default: T) -> io::Result<T> { | |||
/// | |||
/// Each handle is a shared reference to a global buffer of input data to this | |||
/// process. A handle can be `lock`'d to gain full access to [`BufRead`] methods | |||
/// (e.g. `.lines()`). Writes to this handle are otherwise locked with respect | |||
/// to other writes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may have been intended to mention reads, so perhaps it could say "Reads to this handle are otherwise locked with respect to other reads."?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I agree that this is likely a copy-paste bug.
Updated |
doc: Stdin is not writable
No description provided.