summaryrefslogtreecommitdiffstats
path: root/tokio/src/fs/copy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/fs/copy.rs')
-rw-r--r--tokio/src/fs/copy.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/tokio/src/fs/copy.rs b/tokio/src/fs/copy.rs
index d4d4d29c..2d4556f2 100644
--- a/tokio/src/fs/copy.rs
+++ b/tokio/src/fs/copy.rs
@@ -1,10 +1,13 @@
use crate::fs::asyncify;
use std::path::Path;
-/// Copies the contents of one file to another. This function will also copy the permission bits of the original file to the destination file.
+/// Copies the contents of one file to another. This function will also copy the permission bits
+/// of the original file to the destination file.
/// This function will overwrite the contents of to.
///
-/// This is the async equivalent of `std::fs::copy`.
+/// This is the async equivalent of [`std::fs::copy`][std].
+///
+/// [std]: fn@std::fs::copy
///
/// # Examples
///