From 6e86c636e550cec54f51f1ce56a1f583dd37c90d Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 6 Apr 2015 08:40:11 -0700 Subject: [PATCH] Remove outdated notice from BufRead::lines docs. There is no `read_string` function, and `lines` never returns an error. --- src/libstd/io/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index c6335015d72..f0f37117ed3 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -618,9 +618,6 @@ pub trait BufRead: Read { /// The iterator returned from this function will yield instances of /// `io::Result`. Each string returned will *not* have a newline /// byte (the 0xA byte) at the end. - /// - /// This function will yield errors whenever `read_string` would have also - /// yielded an error. #[stable(feature = "rust1", since = "1.0.0")] fn lines(self) -> Lines where Self: Sized { Lines { buf: self }