Rollup merge of #58703 - shepmaster:read_line_return, r=centril

Fix copy-pasted typo for read_string return value
This commit is contained in:
Mazdak Farrokhzad
2019-02-27 13:32:24 +01:00
committed by GitHub

View File

@@ -1578,7 +1578,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
///