mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
docs: Fix link to BufWriter::flush
One of the links in the docs was being rendered as a literal open-bracket followed by a single quote, instead of being transformed into a link. Fix it to match the link earlier in the same paragraph.
This commit is contained in:
@@ -369,7 +369,7 @@ fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
|
||||
///
|
||||
/// 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
|
||||
/// that happen in the process of dropping will be ignored. Calling ['flush']
|
||||
/// 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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user