Clarify appending behavior of 'io::Read::read_to_string()'.
This commit is contained in:
parent
8a11b8cdd7
commit
d301da55f8
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue