We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dbe084b + a7a28d7 commit 90e7f47Copy full SHA for 90e7f47
src/libstd/io/mod.rs
@@ -584,7 +584,8 @@ pub trait BufRead: Read {
584
read_until(self, byte, buf)
585
}
586
587
- /// 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
588
+ /// append them to the provided buffer.
589
///
590
/// This function will continue to read (and buffer) bytes from the
591
/// underlying stream until the newline delimiter (the 0xA byte) or EOF is
0 commit comments