Fix copy-pasted typo for read_string return value
This commit is contained in:
parent
e17c48e2f2
commit
f1b88abffb
1 changed files with 1 additions and 1 deletions
|
@ -1458,7 +1458,7 @@ pub trait BufRead: Read {
|
||||||
///
|
///
|
||||||
/// If successful, this function will return the total number of bytes read.
|
/// If successful, this function will return the total number of bytes read.
|
||||||
///
|
///
|
||||||
/// An empty buffer returned indicates that the stream has reached EOF.
|
/// If this function returns `Ok(0)`, the stream has reached EOF.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue