about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorChris Gregory <czipperz@gmail.com>2019-03-27 23:01:24 -0400
committerChris Gregory <czipperz@gmail.com>2019-03-27 23:01:24 -0400
commite1e0e53f1624489afd8f086017a599afbef21058 (patch)
treef7a5da218947c68fe955ac08783b2a7eb46773cb /src/libstd/io
parent07d350897c7f95bb40ae9762ad1e945f95fc37ae (diff)
downloadrust-e1e0e53f1624489afd8f086017a599afbef21058.tar.gz
rust-e1e0e53f1624489afd8f086017a599afbef21058.zip
Fix link capitalization in documentation of std::io::BufWriter.
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/buffered.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs
index 4668e3ec7ea..232afcd518c 100644
--- a/src/libstd/io/buffered.rs
+++ b/src/libstd/io/buffered.rs
@@ -350,7 +350,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.
 ///
@@ -401,7 +401,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")]