Skip to content

Commit

Permalink
Rollup merge of #73826 - cjrh:cjrh-patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix docstring typo
  • Loading branch information
Manishearth authored Jun 28, 2020
2 parents 8b92eec + 8291a22 commit 5304511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/buffered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5304511

Please sign in to comment.