Clarify appending behavior of 'io::Read::read_to_string()'.

This commit is contained in:
Sergio Benitez 2018-01-05 04:24:12 -08:00
parent 8a11b8cdd7
commit d301da55f8
1 changed files with 1 additions and 1 deletions

View File

@ -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`.