diff options
| author | Bryan Burgers <bryan@burgers.io> | 2019-11-08 10:14:02 -0600 |
|---|---|---|
| committer | Bryan Burgers <bryan@burgers.io> | 2019-11-08 10:18:58 -0600 |
| commit | 413ab57c0210ecbe92298c53ec4e1e39f97e4e4c (patch) | |
| tree | c666b18db32727d9d8c0b269490168f176b860e9 /src/libstd | |
| parent | 76ade3e8ac42cd7a7b7c3c5ef54818ab68e3ebdc (diff) | |
| download | rust-413ab57c0210ecbe92298c53ec4e1e39f97e4e4c.tar.gz rust-413ab57c0210ecbe92298c53ec4e1e39f97e4e4c.zip | |
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.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/buffered.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ impl<R: Seek> Seek for BufReader<R> { /// /// 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. /// |
