]> git.lizzy.rs Git - rust.git/commitdiff
Intra-doc links for std::io::buffered
authorPeter Jaszkowiak <p.jaszkow@gmail.com>
Fri, 16 Oct 2020 04:48:57 +0000 (22:48 -0600)
committerPeter Jaszkowiak <p.jaszkow@gmail.com>
Fri, 6 Nov 2020 02:09:42 +0000 (19:09 -0700)
library/std/src/io/buffered/bufreader.rs
library/std/src/io/buffered/bufwriter.rs

index 8fe29f08a7bd72b52311d33997a3273fac7ac87f..777d376f99173a920b896228b03aadc94cb82f81 100644 (file)
@@ -21,7 +21,7 @@
 /// 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
index 3ec272fea6668478e8da446b916303520f4f2c73..a1face6443ae6a7510f4655b542a515e2e2870c3 100644 (file)
@@ -59,9 +59,9 @@
 /// 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>,