Fix typo in documentation (#338)

This commit is contained in:
Thijs Vermeir
2018-05-03 10:28:48 -07:00
committed by Carl Lerche
parent 8235eefbf0
commit 7cca6499a9
+1 -1
View File
@@ -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,
{