Merge pull request #49 from oberien/read_until

doc(read_until): Fix typo in doc
This commit is contained in:
Alex Crichton
2016-10-04 07:46:36 -07:00
committed by GitHub
+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
{