Rollup merge of #32276 - brson:doc, r=alexcrichton

doc: Stdin is not writable
This commit is contained in:
Steve Klabnik 2016-03-24 10:37:23 -04:00
commit 87aee45988
1 changed files with 2 additions and 2 deletions

View File

@ -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.