about summary refs log tree commit diff
path: root/library/std/src/io/buffered
diff options
context:
space:
mode:
authorMichele Lacchia <michelelacchia@gmail.com>2020-10-26 11:13:47 +0100
committerGitHub <noreply@github.com>2020-10-26 11:13:47 +0100
commita4ba179bdddcabae1947eb307ec017d576ae4b3a (patch)
treef634b3f37728fc29a73b0c5f52b0732a7abc63e9 /library/std/src/io/buffered
parent69e68cf550fb7ba6137b167c17d0fcbe7ea06ce2 (diff)
downloadrust-a4ba179bdddcabae1947eb307ec017d576ae4b3a.tar.gz
rust-a4ba179bdddcabae1947eb307ec017d576ae4b3a.zip
fix(docs): typo in BufWriter documentation
Diffstat (limited to 'library/std/src/io/buffered')
-rw-r--r--library/std/src/io/buffered/bufwriter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/buffered/bufwriter.rs b/library/std/src/io/buffered/bufwriter.rs
index 8ce795a05ed..3ec272fea66 100644
--- a/library/std/src/io/buffered/bufwriter.rs
+++ b/library/std/src/io/buffered/bufwriter.rs
@@ -15,7 +15,7 @@ use crate::io::{
 /// *repeated* write calls to the same file or network socket. It does not
 /// help when writing very large amounts at once, or writing just one or a few
 /// times. It also provides no advantage when writing to a destination that is
-/// in memory, like a [`Vec`]<u8>`.
+/// in memory, like a [`Vec`]`<u8>`.
 ///
 /// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
 /// dropping will attempt to flush the contents of the buffer, any errors