File tree 2 files changed +2
-4
lines changed
library/std/src/io/buffered
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ use buffer::Buffer;
26
26
/// unwrapping the `BufReader<R>` with [`BufReader::into_inner`] can also cause
27
27
/// data loss.
28
28
///
29
- // HACK(#78696): can't use `crate` for associated items
30
- /// [`TcpStream::read`]: super::super::super::net::TcpStream::read
29
+ /// [`TcpStream::read`]: crate::net::TcpStream::read
31
30
/// [`TcpStream`]: crate::net::TcpStream
32
31
///
33
32
/// # Examples
Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ use crate::ptr;
62
62
/// together by the buffer and will all be written out in one system call when
63
63
/// the `stream` is flushed.
64
64
///
65
- // HACK(#78696): can't use `crate` for associated items
66
- /// [`TcpStream::write`]: super::super::super::net::TcpStream::write
65
+ /// [`TcpStream::write`]: crate::net::TcpStream::write
67
66
/// [`TcpStream`]: crate::net::TcpStream
68
67
/// [`flush`]: BufWriter::flush
69
68
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments