]> git.lizzy.rs Git - rust.git/commitdiff
Add missing link
authorAndreas Streichardt <andreas.streichardt@gmail.com>
Mon, 19 Feb 2018 16:19:30 +0000 (17:19 +0100)
committerAndreas Streichardt <andreas.streichardt@gmail.com>
Mon, 19 Feb 2018 16:19:30 +0000 (17:19 +0100)
src/libstd/io/mod.rs

index aa07f64b678599595eae64326b90f7617d37f3ed..d403bf6bfe53c6f36f3bbd84f094a5d0d1841eff 100644 (file)
@@ -1506,6 +1506,8 @@ fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize> {
     /// error is encountered then `buf` may contain some bytes already read in
     /// the event that all data read so far was valid UTF-8.
     ///
+    /// [`read_until`]: #method.read_until
+    ///
     /// # Examples
     ///
     /// [`std::io::Cursor`][`Cursor`] is a type that implements `BufRead`. In