about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorRoss Light <light@google.com>2018-02-15 07:32:42 -0800
committerRoss Light <light@google.com>2018-02-15 07:32:42 -0800
commite1e79d3a100b78939c3461b6a257729c193b469e (patch)
treebb17abbfd1ac29ee9c681f8e815429017c7ed321 /src/libstd
parent3ec5a99aaa0084d97a9e845b34fdf03d1462c475 (diff)
downloadrust-e1e79d3a100b78939c3461b6a257729c193b469e.tar.gz
rust-e1e79d3a100b78939c3461b6a257729c193b469e.zip
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.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs2
1 files changed, 0 insertions, 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