We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba1ebe commit 7da07ffCopy full SHA for 7da07ff
library/std/src/io/mod.rs
@@ -2110,7 +2110,7 @@ pub trait BufRead: Read {
2110
}
2111
2112
/// Read all bytes until a newline (the `0xA` byte) is reached, and append
2113
- /// them to the provided buffer.
+ /// them to the provided buffer (without clear buffer before appending to it).
2114
///
2115
/// This function will read bytes from the underlying stream until the
2116
/// newline delimiter (the `0xA` byte) or EOF is found. Once found, all bytes
0 commit comments