about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-03-24 10:37:23 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-03-24 10:37:23 -0400
commit87aee45988e81cb1a7bc9881aa7172d4f9caefd4 (patch)
tree139fe5ea9674d9a5d03c7a76c76eacaf81524ae7 /src/libstd
parent43843d06ea9598722b3af9019e8d0059c052382d (diff)
parentb013ad55aabf63d5436d127e635928555a6785c9 (diff)
downloadrust-87aee45988e81cb1a7bc9881aa7172d4f9caefd4.tar.gz
rust-87aee45988e81cb1a7bc9881aa7172d4f9caefd4.zip
Rollup merge of #32276 - brson:doc, r=alexcrichton
doc: Stdin is not writable
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/stdio.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index e1a388c38c4..c4b573db5f2 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -141,8 +141,8 @@ 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.
+/// (e.g. `.lines()`). Reads to this handle are otherwise locked with respect
+/// to other reads.
 ///
 /// This handle implements the `Read` trait, but beware that concurrent reads
 /// of `Stdin` must be executed with care.