diff options
| author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-02-23 21:19:25 +0100 |
|---|---|---|
| committer | Jakub Kądziołka <kuba@kadziolka.net> | 2020-02-23 21:19:25 +0100 |
| commit | b3e0d272af149c4126f90a0262d796d7401ba7a1 (patch) | |
| tree | 211d44309b2eb4f1ba4a3b667e80bf2ab2067f70 | |
| parent | b1f395de642e8be7bcbbd2bd8aaadab715851f49 (diff) | |
| download | rust-b3e0d272af149c4126f90a0262d796d7401ba7a1.tar.gz rust-b3e0d272af149c4126f90a0262d796d7401ba7a1.zip | |
docs: Stdin::read_line: mention the appending
| -rw-r--r-- | src/libstd/io/stdio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs index 6add644dcc2..d410faca30d 100644 --- a/src/libstd/io/stdio.rs +++ b/src/libstd/io/stdio.rs @@ -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`]. |
