Skip to content

Commit

Permalink
Fix docstring typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cjrh authored Jun 28, 2020
1 parent 9bdd2db commit 8291a22
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 8291a22

Please sign in to comment.