Skip to content

Commit e1e0e53

Browse files
committed
Fix link capitalization in documentation of std::io::BufWriter.
1 parent 07d3508 commit e1e0e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/io/buffered.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ impl<R: Seek> Seek for BufReader<R> {
350350
///
351351
/// It can be excessively inefficient to work directly with something that
352352
/// implements [`Write`]. For example, every call to
353-
/// [`write`][`Tcpstream::write`] on [`TcpStream`] results in a system call. A
353+
/// [`write`][`TcpStream::write`] on [`TcpStream`] results in a system call. A
354354
/// `BufWriter` keeps an in-memory buffer of data and writes it to an underlying
355355
/// writer in large, infrequent batches.
356356
///
@@ -401,7 +401,7 @@ impl<R: Seek> Seek for BufReader<R> {
401401
/// the `stream` is dropped.
402402
///
403403
/// [`Write`]: ../../std/io/trait.Write.html
404-
/// [`Tcpstream::write`]: ../../std/net/struct.TcpStream.html#method.write
404+
/// [`TcpStream::write`]: ../../std/net/struct.TcpStream.html#method.write
405405
/// [`TcpStream`]: ../../std/net/struct.TcpStream.html
406406
/// [`flush`]: #method.flush
407407
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)