From c79470f52569bc004a4781510a8521c9a0d9fb17 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 8 Sep 2019 17:31:07 +0200 Subject: [PATCH] fix io::copy link Signed-off-by: Yoshua Wuyts --- src/io/copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/copy.rs b/src/io/copy.rs index ccc6bc829..d046b4bc0 100644 --- a/src/io/copy.rs +++ b/src/io/copy.rs @@ -18,7 +18,7 @@ use crate::task::{Context, Poll}; /// If you’re wanting to copy the contents of one file to another and you’re /// working with filesystem paths, see the [`fs::copy`] function. /// -/// This function is an async version of [`std::fs::write`]. +/// This function is an async version of [`std::io::copy`]. /// /// [`std::io::copy`]: https://doc.rust-lang.org/std/io/fn.copy.html /// [`fs::copy`]: ../fs/fn.copy.html