Skip to content

Commit e1e79d3

Browse files
committed
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.
1 parent 3ec5a99 commit e1e79d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libstd/io/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,8 +1437,6 @@ pub trait BufRead: Read {
14371437
///
14381438
/// If successful, this function will return the total number of bytes read.
14391439
///
1440-
/// An empty buffer returned indicates that the stream has reached EOF.
1441-
///
14421440
/// # Errors
14431441
///
14441442
/// This function will ignore all instances of [`ErrorKind::Interrupted`] and

0 commit comments

Comments
 (0)