We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a9506 commit a7a28d7Copy full SHA for a7a28d7
src/libstd/io/mod.rs
@@ -592,7 +592,8 @@ pub trait BufRead: Read {
592
read_until(self, byte, buf)
593
}
594
595
- /// Read all bytes until a newline byte (the 0xA byte) is reached.
+ /// Read all bytes until a newline byte (the 0xA byte) is reached, and
596
+ /// append them to the provided buffer.
597
///
598
/// This function will continue to read (and buffer) bytes from the
599
/// underlying stream until the newline delimiter (the 0xA byte) or EOF is
0 commit comments