docs: Stdin::read_line: mention the appending

This commit is contained in:
Jakub Kądziołka 2020-02-23 21:19:25 +01:00
parent b1f395de64
commit b3e0d272af
No known key found for this signature in database
GPG Key ID: E315A75846131564
1 changed files with 1 additions and 1 deletions

View File

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