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:
Ross Light 2018-02-15 07:32:42 -08:00
parent 3ec5a99aaa
commit e1e79d3a10

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