Rollup merge of #48234 - zombiezen:patch-1, r=steveklabnik

Remove "empty buffer" doc in read_until

This appears copied from fill_buf, but the above paragraph already indicates that a lack of delimiter at the end is EOF.
This commit is contained in:
Guillaume Gomez
2018-02-17 14:45:22 +01:00
committed by GitHub

View File

@@ -1437,8 +1437,6 @@ 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.
///
/// # Errors
///
/// This function will ignore all instances of [`ErrorKind::Interrupted`] and