diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-06-28 08:30:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-28 08:30:34 -0700 |
| commit | 5304511fbc1f9a0c7340f7f0d037aa4dd13a588f (patch) | |
| tree | 10fffa595dfadfb33ad584cb59819829b988503c /src/libstd | |
| parent | 8b92eecbc2ea2644c4dbe9965f8360bc0dc45b33 (diff) | |
| parent | 8291a22dd4b9d029d07254968c45d69a30602494 (diff) | |
| download | rust-5304511fbc1f9a0c7340f7f0d037aa4dd13a588f.tar.gz rust-5304511fbc1f9a0c7340f7f0d037aa4dd13a588f.zip | |
Rollup merge of #73826 - cjrh:cjrh-patch-1, r=jonas-schievink
Fix docstring typo
Diffstat (limited to 'src/libstd')
| -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. |
