Skip to content

Commit

Permalink
Clarify appending behavior of 'io::Read::read_to_string()'.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Jan 5, 2018
1 parent 8a11b8c commit d301da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ pub trait Read {
read_to_end(self, buf)
}

/// Read all bytes until EOF in this source, placing them into `buf`.
/// Read all bytes until EOF in this source, appending them to `buf`.
///
/// If successful, this function returns the number of bytes which were read
/// and appended to `buf`.
Expand Down

0 comments on commit d301da5

Please # to comment.