]> git.lizzy.rs Git - rust.git/commitdiff
docs: Fix typo in ExitStatus
authorMartin Kröning <mkroening@posteo.net>
Fri, 10 Jun 2022 18:24:45 +0000 (20:24 +0200)
committerMartin Kröning <mkroening@posteo.net>
Fri, 10 Jun 2022 18:24:45 +0000 (20:24 +0200)
library/std/src/process.rs

index 1def9fe0972025c901be03aa7ed6f75e3acf0d8c..873a87e4b2d764c03b16fad59aafe9615f216fd0 100644 (file)
@@ -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