Fix copy-pasted typo for read_string return value
This commit is contained in:
@@ -1458,7 +1458,7 @@ pub trait BufRead: 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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user