Rollup merge of #58703 - shepmaster:read_line_return, r=centril
Fix copy-pasted typo for read_string return value
This commit is contained in:
@@ -1578,7 +1578,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
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user