We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74dfc1d commit b013ad5Copy full SHA for b013ad5
src/libstd/io/stdio.rs
@@ -141,8 +141,8 @@ fn handle_ebadf<T>(r: io::Result<T>, default: T) -> io::Result<T> {
141
///
142
/// Each handle is a shared reference to a global buffer of input data to this
143
/// process. A handle can be `lock`'d to gain full access to [`BufRead`] methods
144
-/// (e.g. `.lines()`). Writes to this handle are otherwise locked with respect
145
-/// to other writes.
+/// (e.g. `.lines()`). Reads to this handle are otherwise locked with respect
+/// to other reads.
146
147
/// This handle implements the `Read` trait, but beware that concurrent reads
148
/// of `Stdin` must be executed with care.
0 commit comments