summaryrefslogtreecommitdiffstats
path: root/tokio-net/src/process/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-net/src/process/mod.rs')
-rw-r--r--tokio-net/src/process/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio-net/src/process/mod.rs b/tokio-net/src/process/mod.rs
index b009b0e4..140daa5d 100644
--- a/tokio-net/src/process/mod.rs
+++ b/tokio-net/src/process/mod.rs
@@ -1,6 +1,6 @@
//! An implementation of asynchronous process management for Tokio.
//!
-//! This module provides a [`Command`](Command) struct that imitates the interface of the
+//! This module provides a [`Command`](crate::process::Command) struct that imitates the interface of the
//! [`std::process::Command`] type in the standard library, but provides asynchronous versions of
//! functions that create processes. These functions (`spawn`, `status`, `output` and their
//! variants) return "future aware" types that interoperate with Tokio. The asynchronous process
@@ -101,10 +101,10 @@
//! While similar to the standard library, this crate's `Child` type differs
//! importantly in the behavior of `drop`. In the standard library, a child
//! process will continue running after the instance of [`std::process::Child`]
-//! is dropped. In this crate, however, because [`tokio_net::process::Child`](Child) is a
+//! is dropped. In this crate, however, because [`tokio_net::process::Child`](crate::process::Child) is a
//! future of the child's `ExitStatus`, a child process is terminated if
//! `tokio_net::process::Child` is dropped. The behavior of the standard library can
-//! be regained with the [`Child::forget`] method.
+//! be regained with the [`Child::forget`](crate::process::Child::forget) method.
use std::ffi::OsStr;
use std::future::Future;