Skip to content

Commit 3b45521

Browse files
committed
docs: Link to ExitCode instead of ExitStatus in ExitStatus
1 parent 30c8825 commit 3b45521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/process.rs

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

0 commit comments

Comments
 (0)