Skip to content

Commit

Permalink
Unrolled build for rust-lang#121310
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#121310 - GrigorenkoPV:doc-smallfix, r=Nilstrieb

Remove an old hack for rustdoc

Since rust-lang#78696 has been resolved
  • Loading branch information
rust-timer committed Feb 20, 2024
2 parents bcea3cb + ac1754b commit d751869
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 d751869

Please sign in to comment.