mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 11:33:04 +00:00
Rollup merge of #78006 - pitaj:master, r=jyn514
Use Intra-doc links for std::io::buffered Helps with #75080. I used the implicit link style for intrinsics, as that was what `minnumf32` and others already had. ``@rustbot`` modify labels: T-doc, A-intra-doc-links r? ``@jyn514``
This commit is contained in:
commit
0e71fc75cc
@ -21,7 +21,8 @@ use crate::io::{self, BufRead, Initializer, IoSliceMut, Read, Seek, SeekFrom, DE
|
|||||||
/// unwrapping the `BufReader<R>` with [`BufReader::into_inner`] can also cause
|
/// unwrapping the `BufReader<R>` with [`BufReader::into_inner`] can also cause
|
||||||
/// data loss.
|
/// data loss.
|
||||||
///
|
///
|
||||||
/// [`TcpStream::read`]: Read::read
|
// HACK(#78696): can't use `crate` for associated items
|
||||||
|
/// [`TcpStream::read`]: super::super::super::net::TcpStream::read
|
||||||
/// [`TcpStream`]: crate::net::TcpStream
|
/// [`TcpStream`]: crate::net::TcpStream
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
@ -59,9 +59,10 @@ use crate::io::{
|
|||||||
/// together by the buffer and will all be written out in one system call when
|
/// together by the buffer and will all be written out in one system call when
|
||||||
/// the `stream` is flushed.
|
/// the `stream` is flushed.
|
||||||
///
|
///
|
||||||
/// [`TcpStream::write`]: Write::write
|
// HACK(#78696): can't use `crate` for associated items
|
||||||
|
/// [`TcpStream::write`]: super::super::super::net::TcpStream::write
|
||||||
/// [`TcpStream`]: crate::net::TcpStream
|
/// [`TcpStream`]: crate::net::TcpStream
|
||||||
/// [`flush`]: Write::flush
|
/// [`flush`]: BufWriter::flush
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct BufWriter<W: Write> {
|
pub struct BufWriter<W: Write> {
|
||||||
inner: Option<W>,
|
inner: Option<W>,
|
||||||
|
Loading…
Reference in New Issue
Block a user