diff options
| author | Caleb Hattingh <caleb.hattingh@gmail.com> | 2020-06-28 13:26:09 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-28 13:26:09 +1000 |
| commit | 8291a22dd4b9d029d07254968c45d69a30602494 (patch) | |
| tree | 8b870944f3ea7f2d844fa61faf9b4debba6f956b /src/libstd/io | |
| parent | 9bdd2db3a60176012f4dc240eea02d615cc60061 (diff) | |
| download | rust-8291a22dd4b9d029d07254968c45d69a30602494.tar.gz rust-8291a22dd4b9d029d07254968c45d69a30602494.zip | |
Fix docstring typo
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/buffered.rs | 2 |
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. |
