]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in doc
authorIan Jackson <ijackson+github@slimy.greenend.org.uk>
Tue, 16 Mar 2021 15:17:27 +0000 (15:17 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 12 May 2021 10:12:19 +0000 (11:12 +0100)
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
library/std/src/process.rs

index c55cc18b2cff5f982ed74fbbd710db6785898416..e9d807134003e7032170f56164b3fcd2e347c027 100644 (file)
@@ -1536,7 +1536,7 @@ impl ExitStatusError {
     ///
     /// In Unix terms the return value is the **exit status**: the value passed to `exit`, if the
     /// process finished by calling `exit`.  Note that on Unix the exit status is truncated to 8
-    /// bits, and that values that didn't come from a program's call to `exit` may be invented the
+    /// bits, and that values that didn't come from a program's call to `exit` may be invented by the
     /// runtime system (often, for example, 255, 254, 127 or 126).
     ///
     /// On Unix, this will return `None` if the process was terminated by a signal.  If you want to