about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorPeter Jaszkowiak <p.jaszkow@gmail.com>2020-10-15 22:48:57 -0600
committerPeter Jaszkowiak <p.jaszkow@gmail.com>2020-11-05 19:09:42 -0700
commitfe6dfcd28a9cbb8080313433a825cdec7b6a78b3 (patch)
tree93b00dd4ee58418692a3e4161b932ecb30a598a1 /library/std/src
parent9d78d1d02761b906038ba4d54c5f3427f920f5fb (diff)
downloadrust-fe6dfcd28a9cbb8080313433a825cdec7b6a78b3.tar.gz
rust-fe6dfcd28a9cbb8080313433a825cdec7b6a78b3.zip
Intra-doc links for std::io::buffered
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/io/buffered/bufreader.rs2
-rw-r--r--library/std/src/io/buffered/bufwriter.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/io/buffered/bufreader.rs b/library/std/src/io/buffered/bufreader.rs
index 8fe29f08a7b..777d376f991 100644
--- a/library/std/src/io/buffered/bufreader.rs
+++ b/library/std/src/io/buffered/bufreader.rs
@@ -21,7 +21,7 @@ use crate::io::{self, BufRead, Initializer, IoSliceMut, Read, Seek, SeekFrom, DE
 /// unwrapping the `BufReader<R>` with [`BufReader::into_inner`] can also cause
 /// data loss.
 ///
-/// [`TcpStream::read`]: Read::read
+/// [`TcpStream::read`]: super::super::super::net::TcpStream::read
 /// [`TcpStream`]: crate::net::TcpStream
 ///
 /// # Examples
diff --git a/library/std/src/io/buffered/bufwriter.rs b/library/std/src/io/buffered/bufwriter.rs
index 3ec272fea66..a1face6443a 100644
--- a/library/std/src/io/buffered/bufwriter.rs
+++ b/library/std/src/io/buffered/bufwriter.rs
@@ -59,9 +59,9 @@ use crate::io::{
 /// together by the buffer and will all be written out in one system call when
 /// the `stream` is flushed.
 ///
-/// [`TcpStream::write`]: Write::write
+/// [`TcpStream::write`]: super::super::super::net::TcpStream::write
 /// [`TcpStream`]: crate::net::TcpStream
-/// [`flush`]: Write::flush
+/// [`flush`]: BufWriter::flush
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct BufWriter<W: Write> {
     inner: Option<W>,