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
{