Skip to content

Commit 5304511

Browse files
authored
Rollup merge of #73826 - cjrh:cjrh-patch-1, r=jonas-schievink
Fix docstring typo
2 parents 8b92eec + 8291a22 commit 5304511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/buffered.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ impl<R: Seek> Seek for BufReader<R> {
400400
/// in memory, like a `Vec<u8>`.
401401
///
402402
/// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
403-
/// dropping will attempt to flush the the contents of the buffer, any errors
403+
/// dropping will attempt to flush the contents of the buffer, any errors
404404
/// that happen in the process of dropping will be ignored. Calling [`flush`]
405405
/// ensures that the buffer is empty and thus dropping will not even attempt
406406
/// file operations.

0 commit comments

Comments
 (0)