Skip to content

Commit

Permalink
Rollup merge of rust-lang#121310 - GrigorenkoPV:doc-smallfix, r=Nilst…
Browse files Browse the repository at this point in the history
…rieb

Remove an old hack for rustdoc

Since rust-lang#78696 has been resolved
  • Loading branch information
saethlin authored Feb 20, 2024
2 parents 8fe828e + ac1754b commit e6060eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions library/std/src/io/buffered/bufreader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions library/std/src/io/buffered/bufwriter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit e6060eb

Please sign in to comment.