Fix docstring typo
This commit is contained in:
parent
9bdd2db3a6
commit
8291a22dd4
@ -400,7 +400,7 @@ fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
|
||||
/// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user