Skip to content

Commit dcb7c69

Browse files
authored
Rollup merge of #121310 - GrigorenkoPV:doc-smallfix, r=Nilstrieb
Remove an old hack for rustdoc Since #78696 has been resolved
2 parents 930566f + ac1754b commit dcb7c69

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

library/std/src/io/buffered/bufreader.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ use buffer::Buffer;
2626
/// unwrapping the `BufReader<R>` with [`BufReader::into_inner`] can also cause
2727
/// data loss.
2828
///
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
3130
/// [`TcpStream`]: crate::net::TcpStream
3231
///
3332
/// # Examples

library/std/src/io/buffered/bufwriter.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ use crate::ptr;
6262
/// together by the buffer and will all be written out in one system call when
6363
/// the `stream` is flushed.
6464
///
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
6766
/// [`TcpStream`]: crate::net::TcpStream
6867
/// [`flush`]: BufWriter::flush
6968
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)