Skip to content

Commit

Permalink
Rollup merge of rust-lang#32276 - brson:doc, r=alexcrichton
Browse files Browse the repository at this point in the history
doc: Stdin is not writable
  • Loading branch information
steveklabnik committed Mar 24, 2016
2 parents 43843d0 + b013ad5 commit 87aee45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 87aee45

Please sign in to comment.