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 ///