diff --git a/library/std/src/process.rs b/library/std/src/process.rs index 1def9fe0972..873a87e4b2d 100644 --- a/library/std/src/process.rs +++ b/library/std/src/process.rs @@ -1417,7 +1417,7 @@ fn from(file: fs::File) -> Stdio { /// For proper error reporting of failed processes, print the value of `ExitStatus` or /// `ExitStatusError` using their implementations of [`Display`](crate::fmt::Display). /// -/// # Differences from `ExitStatus` +/// # Differences from `ExitCode` /// /// `ExitCode` is intended for terminating the currently running process, via /// the `Termination` trait, in contrast to [`ExitStatus`], which represents the