Rollup merge of #47216 - SergioBenitez:doc-fix, r=Mark-Simulacrum
Clarify appending behavior of 'io::Read::read_to_string()'. A simple doc clarification.
This commit is contained in:
commit
35d15554bd
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user