Rollup merge of #121310 - GrigorenkoPV:doc-smallfix, r=Nilstrieb

Remove an old hack for rustdoc

Since #78696 has been resolved
This commit is contained in:
Nilstrieb 2024-02-20 07:35:48 +01:00 committed by GitHub
commit dcb7c6919f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -26,8 +26,7 @@ use buffer::Buffer;
/// unwrapping the `BufReader<R>` with [`BufReader::into_inner`] can also cause
/// data loss.
///
// HACK(#78696): can't use `crate` for associated items
/// [`TcpStream::read`]: super::super::super::net::TcpStream::read
/// [`TcpStream::read`]: crate::net::TcpStream::read
/// [`TcpStream`]: crate::net::TcpStream
///
/// # Examples

View File

@ -62,8 +62,7 @@ use crate::ptr;
/// together by the buffer and will all be written out in one system call when
/// the `stream` is flushed.
///
// HACK(#78696): can't use `crate` for associated items
/// [`TcpStream::write`]: super::super::super::net::TcpStream::write
/// [`TcpStream::write`]: crate::net::TcpStream::write
/// [`TcpStream`]: crate::net::TcpStream
/// [`flush`]: BufWriter::flush
#[stable(feature = "rust1", since = "1.0.0")]