diff options
Diffstat (limited to 'tokio-net/src')
-rw-r--r-- | tokio-net/src/lib.rs | 1 | ||||
-rw-r--r-- | tokio-net/src/process/mod.rs | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tokio-net/src/lib.rs b/tokio-net/src/lib.rs index 6371b754..cd2c6bc3 100644 --- a/tokio-net/src/lib.rs +++ b/tokio-net/src/lib.rs @@ -5,6 +5,7 @@ rust_2018_idioms, unreachable_pub )] +#![deny(intra_doc_link_resolution_failure)] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] //! Event loop that drives Tokio I/O resources. 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; |