docs: Link to ExitCode instead of ExitStatus in ExitStatus

This commit is contained in:
Martin Kröning 2022-06-10 20:25:36 +02:00
parent 30c882521c
commit 3b45521acf

View File

@ -1419,8 +1419,8 @@ impl From<fs::File> for Stdio {
///
/// # Differences from `ExitCode`
///
/// `ExitCode` is intended for terminating the currently running process, via
/// the `Termination` trait, in contrast to [`ExitStatus`], which represents the
/// [`ExitCode`] is intended for terminating the currently running process, via
/// the `Termination` trait, in contrast to `ExitStatus`, which represents the
/// termination of a child process. These APIs are separate due to platform
/// compatibility differences and their expected usage; it is not generally
/// possible to exactly reproduce an ExitStatus from a child for the current