diff options
author | Thijs Vermeir <thijsvermeir@gmail.com> | 2018-05-03 19:28:48 +0200 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2018-05-03 10:28:48 -0700 |
commit | 7cca6499a928d10faf515ba40c1696c7b4be588f (patch) | |
tree | e5f943faa32472fc4a1a3c36a51eee276a11fde2 /tokio-fs | |
parent | 8235eefbf0cb4d8cbbb0cc8bf6554c66ef4e3346 (diff) |
Fix typo in documentation (#338)
Diffstat (limited to 'tokio-fs')
-rw-r--r-- | tokio-fs/src/file/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-fs/src/file/mod.rs b/tokio-fs/src/file/mod.rs index 3b3a08b6..00927664 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<P>(path: P) -> CreateFuture<P> where P: AsRef<Path> + Send + 'static, { |