From 254523730973b3938496fe1a70edbdd7b62c2aea Mon Sep 17 00:00:00 2001 From: oberien Date: Tue, 4 Oct 2016 13:34:25 +0200 Subject: [PATCH] doc(read_until): Fix typo in doc --- src/io/read_until.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/read_until.rs b/src/io/read_until.rs index bb8c0073c..4e275cdc5 100644 --- a/src/io/read_until.rs +++ b/src/io/read_until.rs @@ -31,7 +31,7 @@ enum State { /// the buffer will be returned, with all bytes up to, and including, the delimiter /// (if found). /// -/// [`ButRead::read_until`]: https://doc.rust-lang.org/std/io/trait.BufRead.html#method.read_until +/// [`BufRead::read_until`]: https://doc.rust-lang.org/std/io/trait.BufRead.html#method.read_until pub fn read_until(a: A, byte: u8, buf: Vec) -> ReadUntil where A: BufRead {