diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-02-20 07:35:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 07:35:48 +0100 |
| commit | dcb7c6919f902c03e0a87d63e9dd8175594d8c8a (patch) | |
| tree | 939b0289be4a3a053ea909f958ea3a864b0d5e5a | |
| parent | 930566fe1af533832e5142bd02d5a80df4afe00d (diff) | |
| parent | ac1754beb86a9f9d5479089b64c042011d8f8d93 (diff) | |
| download | rust-dcb7c6919f902c03e0a87d63e9dd8175594d8c8a.tar.gz rust-dcb7c6919f902c03e0a87d63e9dd8175594d8c8a.zip | |
Rollup merge of #121310 - GrigorenkoPV:doc-smallfix, r=Nilstrieb
Remove an old hack for rustdoc Since #78696 has been resolved
| -rw-r--r-- | library/std/src/io/buffered/bufreader.rs | 3 | ||||
| -rw-r--r-- | library/std/src/io/buffered/bufwriter.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/library/std/src/io/buffered/bufreader.rs b/library/std/src/io/buffered/bufreader.rs index e920500d7d0..e0dc9f96ae9 100644 --- a/library/std/src/io/buffered/bufreader.rs +++ b/library/std/src/io/buffered/bufreader.rs @@ -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 diff --git a/library/std/src/io/buffered/bufwriter.rs b/library/std/src/io/buffered/bufwriter.rs index 95ba82e1e07..665d8602c08 100644 --- a/library/std/src/io/buffered/bufwriter.rs +++ b/library/std/src/io/buffered/bufwriter.rs @@ -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")] |
