From 7cca6499a928d10faf515ba40c1696c7b4be588f Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Thu, 3 May 2018 19:28:48 +0200 Subject: [PATCH] Fix typo in documentation (#338) --- tokio-fs/src/file/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {