summaryrefslogtreecommitdiffstats
path: root/tokio-fs/src/remove_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-fs/src/remove_dir.rs')
-rw-r--r--tokio-fs/src/remove_dir.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tokio-fs/src/remove_dir.rs b/tokio-fs/src/remove_dir.rs
index 853e60b2..22c6ba3e 100644
--- a/tokio-fs/src/remove_dir.rs
+++ b/tokio-fs/src/remove_dir.rs
@@ -5,9 +5,7 @@ use std::path::Path;
/// Removes an existing, empty directory.
///
-/// This is an async version of [`std::fs::remove_dir`][std]
-///
-/// [std]: https://doc.rust-lang.org/std/fs/fn.remove_dir.html
+/// This is an async version of [`std::fs::remove_dir`](std::fs::remove_dir)
pub async fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
let path = path.as_ref().to_owned();
asyncify(move || std::fs::remove_dir(path)).await