From e1e79d3a100b78939c3461b6a257729c193b469e Mon Sep 17 00:00:00 2001 From: Ross Light Date: Thu, 15 Feb 2018 07:32:42 -0800 Subject: [PATCH] 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. --- src/libstd/io/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 33d11ebb350..aa07f64b678 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -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