From 8ba98b68792c548d6db54de83480096f6844c3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hrvoje=20Nik=C5=A1i=C4=87?= Date: Tue, 16 Apr 2024 13:58:31 +0200 Subject: [PATCH] Update library/std/src/fs.rs Co-authored-by: Mara Bos --- library/std/src/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index b6744825ad41..b55b72b9d2b0 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -973,7 +973,7 @@ impl OpenOptions { /// /// Append mode guarantees that writes will be positioned at the current end of file, /// even when there are other processes or threads appending to the same file. This is - /// unlike [seek]\([SeekFrom]::[End]\(0))` followed by `write()`, which + /// unlike [seek]\([SeekFrom]::[End]\(0)) followed by `write()`, which /// has a race between seeking and writing during which another writer can write, with /// our `write()` overwriting their data. ///