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
+1 -1
View File
@@ -1458,7 +1458,7 @@ fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize> {
///
/// 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
///