about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Kröning <mkroening@posteo.net>2022-06-10 20:25:36 +0200
committerMartin Kröning <mkroening@posteo.net>2022-06-10 20:25:36 +0200
commit3b45521acf2af899a94792aa1e888422c7447168 (patch)
treec523c31d39cd22a1580e844728b5c446db989e53
parent30c882521c235bbf5c278e884a83a996d5f20e47 (diff)
downloadrust-3b45521acf2af899a94792aa1e888422c7447168.tar.gz
rust-3b45521acf2af899a94792aa1e888422c7447168.zip
docs: Link to ExitCode instead of ExitStatus in ExitStatus
-rw-r--r--library/std/src/process.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index 873a87e4b2d..e13520ed89e 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -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