Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 53a83e7

Browse files
authoredNov 13, 2019
Rollup merge of rust-lang#66227 - bryanburgers:bufwriter-docs-fix-flush-link, r=Dylan-DPC
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.
2 parents a45983c + 413ab57 commit 53a83e7

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
@@ -369,7 +369,7 @@ impl<R: Seek> Seek for BufReader<R> {
369369
///
370370
/// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
371371
/// dropping will attempt to flush the the contents of the buffer, any errors
372-
/// that happen in the process of dropping will be ignored. Calling ['flush']
372+
/// that happen in the process of dropping will be ignored. Calling [`flush`]
373373
/// ensures that the buffer is empty and thus dropping will not even attempt
374374
/// file operations.
375375
///

0 commit comments

Comments
 (0)
Please sign in to comment.