about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorCaleb Hattingh <caleb.hattingh@gmail.com>2020-06-28 13:26:09 +1000
committerGitHub <noreply@github.com>2020-06-28 13:26:09 +1000
commit8291a22dd4b9d029d07254968c45d69a30602494 (patch)
tree8b870944f3ea7f2d844fa61faf9b4debba6f956b /src/libstd/io
parent9bdd2db3a60176012f4dc240eea02d615cc60061 (diff)
downloadrust-8291a22dd4b9d029d07254968c45d69a30602494.tar.gz
rust-8291a22dd4b9d029d07254968c45d69a30602494.zip
Fix docstring typo
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/buffered.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs
index 0737008a94c..b4c91cced43 100644
--- a/src/libstd/io/buffered.rs
+++ b/src/libstd/io/buffered.rs
@@ -400,7 +400,7 @@ impl<R: Seek> Seek for BufReader<R> {
 /// in memory, like a `Vec<u8>`.
 ///
 /// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
-/// dropping will attempt to flush the the contents of the buffer, any errors
+/// dropping will attempt to flush the contents of the buffer, any errors
 /// that happen in the process of dropping will be ignored. Calling [`flush`]
 /// ensures that the buffer is empty and thus dropping will not even attempt
 /// file operations.