Skip to content

Commit

Permalink
docs: Stdin::read_line: mention the appending
Browse files Browse the repository at this point in the history
  • Loading branch information
meithecatte committed Feb 23, 2020
1 parent b1f395d commit b3e0d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/stdio.rs
Expand Up @@ -302,7 +302,7 @@ impl Stdin {
StdinLock { inner: self.inner.lock().unwrap_or_else(|e| e.into_inner()) }
}

/// Locks this handle and reads a line of input into the specified buffer.
/// Locks this handle and reads a line of input, appending it to the specified buffer.
///
/// For detailed semantics of this method, see the documentation on
/// [`BufRead::read_line`].
Expand Down

0 comments on commit b3e0d27

Please sign in to comment.