doc(read_until): Fix typo in doc

This commit is contained in:
oberien
2016-10-04 13:34:25 +02:00
parent f019f5f5bb
commit 2545237309
+1 -1
View File
@@ -31,7 +31,7 @@ enum State<A> {
/// 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: A, byte: u8, buf: Vec<u8>) -> ReadUntil<A>
where A: BufRead
{