From 8291a22dd4b9d029d07254968c45d69a30602494 Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Sun, 28 Jun 2020 13:26:09 +1000 Subject: [PATCH] Fix docstring typo --- 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 0737008a94c9a..b4c91cced43bf 100644 --- a/src/libstd/io/buffered.rs +++ b/src/libstd/io/buffered.rs @@ -400,7 +400,7 @@ impl Seek for BufReader { /// in memory, like a `Vec`. /// /// It is critical to call [`flush`] before `BufWriter` is dropped. Though -/// dropping will attempt to flush the the contents of the buffer, any errors +/// dropping will attempt to flush the contents of the buffer, any errors /// 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.