about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-21 16:29:54 +0100
committerGitHub <noreply@github.com>2018-02-21 16:29:54 +0100
commitd6e649a631c05b4d0d6c641b9398cb07f4d48224 (patch)
treea7e6c6f15e1cefdc1f266b6f1dca84732cc2f508
parent37463272a78a3cd0cc3cde4734106ae8e5fc47cc (diff)
parentf0a968eada509f71971e3ece02f8ec91b6f79e8a (diff)
downloadrust-d6e649a631c05b4d0d6c641b9398cb07f4d48224.tar.gz
rust-d6e649a631c05b4d0d6c641b9398cb07f4d48224.zip
Rollup merge of #48354 - m0ppers:add-read-until-link, r=aidanhs
Add missing link for read_line

Seems I found a missing link 🔗

https://doc.rust-lang.org/stable/std/io/trait.BufRead.html#errors-2
-rw-r--r--src/libstd/io/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index aa07f64b678..d403bf6bfe5 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1506,6 +1506,8 @@ pub trait BufRead: Read {
     /// 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