Skip to content

Commit 072bc5e

Browse files
Rollup merge of rust-lang#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.
2 parents 10944d6 + e1e79d3 commit 072bc5e

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)