Skip to content

Commit

Permalink
Rollup merge of #59474 - czipperz:bufwriter-fix-link-capitalization, …
Browse files Browse the repository at this point in the history
…r=Centril

Fix link capitalization in documentation of std::io::BufWriter.
  • Loading branch information
Centril committed Mar 28, 2019
2 parents 2d171d8 + e1e0e53 commit d403cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/io/buffered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ impl<R: Seek> Seek for BufReader<R> {
///
/// It can be excessively inefficient to work directly with something that
/// implements [`Write`]. For example, every call to
/// [`write`][`Tcpstream::write`] on [`TcpStream`] results in a system call. A
/// [`write`][`TcpStream::write`] on [`TcpStream`] results in a system call. A
/// `BufWriter` keeps an in-memory buffer of data and writes it to an underlying
/// writer in large, infrequent batches.
///
Expand Down Expand Up @@ -405,7 +405,7 @@ impl<R: Seek> Seek for BufReader<R> {
/// the `stream` is dropped.
///
/// [`Write`]: ../../std/io/trait.Write.html
/// [`Tcpstream::write`]: ../../std/net/struct.TcpStream.html#method.write
/// [`TcpStream::write`]: ../../std/net/struct.TcpStream.html#method.write
/// [`TcpStream`]: ../../std/net/struct.TcpStream.html
/// [`flush`]: #method.flush
#[stable(feature = "rust1", since = "1.0.0")]
Expand Down

0 comments on commit d403cd7

Please sign in to comment.