diff --git a/tokio-fs/src/file/mod.rs b/tokio-fs/src/file/mod.rs index 3b3a08b64..009276646 100644 --- a/tokio-fs/src/file/mod.rs +++ b/tokio-fs/src/file/mod.rs @@ -56,7 +56,7 @@ impl File { /// `CreateFuture` results in an error if called from outside of the Tokio /// runtime or if the underlying [`create`] call results in an error. /// - /// [`open`]: https://doc.rust-lang.org/std/fs/struct.File.html#method.create + /// [`create`]: https://doc.rust-lang.org/std/fs/struct.File.html#method.create pub fn create

(path: P) -> CreateFuture

where P: AsRef + Send + 'static, {