From 3af3e729357ff7678d25d25c041c901eedcaefe5 Mon Sep 17 00:00:00 2001 From: Hunter Trujillo Date: Sat, 31 Dec 2022 18:03:29 -0700 Subject: [PATCH] Correct a typo in fs::File::create documentation. --- 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 f357d505fe89c..331408a713af5 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -360,7 +360,7 @@ impl File { /// Depending on the platform, this function may fail if the /// full directory path does not exist. /// - /// See the [`OpenOptions::open`] function for more details. + /// See the [`OpenOptions::create`] function for more details. /// /// # Examples ///