1
Fork 0

Fix copy-pasted typo for read_string return value

This commit is contained in:
Jake Goulding 2019-02-24 10:01:27 -05:00
parent e17c48e2f2
commit f1b88abffb

View file

@ -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
/// ///