Remove an old hack for rustdoc

This commit is contained in:
Pavel Grigorenko 2024-02-19 21:16:27 +03:00
parent 43d3470f11
commit ac1754beb8
No known key found for this signature in database
GPG Key ID: 52BFCC6ED389F777
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")]