From 413ab57c0210ecbe92298c53ec4e1e39f97e4e4c Mon Sep 17 00:00:00 2001 From: Bryan Burgers Date: Fri, 8 Nov 2019 10:14:02 -0600 Subject: [PATCH] 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. --- src/libstd/io/buffered.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs index ad567c97c2c..557da174d89 100644 --- a/src/libstd/io/buffered.rs +++ b/src/libstd/io/buffered.rs @@ -369,7 +369,7 @@ fn seek(&mut self, pos: SeekFrom) -> io::Result { /// /// It is critical to call [`flush`] before `BufWriter` 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. /// -- 2.44.0