docs: Link to ExitCode instead of ExitStatus in ExitStatus
This commit is contained in:
parent
30c882521c
commit
3b45521acf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user