Skip to content

Commit

Permalink
Rollup merge of rust-lang#48234 - zombiezen:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
GuillaumeGomez authored Feb 17, 2018
2 parents 6db06f5 + e1e79d3 commit 62d6ba4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62d6ba4

Please sign in to comment.