Skip to content

Commit

Permalink
changed wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-DPC committed Mar 16, 2022
1 parent 7da07ff commit 2c06c86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/std/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,8 @@ pub trait BufRead: Read {
}

/// Read all bytes until a newline (the `0xA` byte) is reached, and append
/// them to the provided buffer (without clear buffer before appending to it).
/// them to the provided buffer. You do not need to clear the buffer before
/// appending.
///
/// This function will read bytes from the underlying stream until the
/// newline delimiter (the `0xA` byte) or EOF is found. Once found, all bytes
Expand Down

0 comments on commit 2c06c86

Please sign in to comment.