1
Fork 0

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

View file

@ -601,7 +601,7 @@ pub trait Read {
read_to_end(self, buf) 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 /// If successful, this function returns the number of bytes which were read
/// and appended to `buf`. /// and appended to `buf`.