Remove outdated notice from BufRead::lines docs.

There is no `read_string` function, and `lines` never returns an error.
This commit is contained in:
Matt Brubeck 2015-04-06 08:40:11 -07:00
parent 8fcc5bd6a7
commit 6e86c636e5
1 changed files with 0 additions and 3 deletions

View File

@ -618,9 +618,6 @@ pub trait BufRead: Read {
/// The iterator returned from this function will yield instances of
/// `io::Result<String>`. 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<Self> where Self: Sized {
Lines { buf: self }