about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-06 22:42:25 +0000
committerbors <bors@rust-lang.org>2021-08-06 22:42:25 +0000
commitdb3cb435c1197ef3e3919c03b7f81ca8bffbd007 (patch)
treed4e3c2c1252eb9c43d2fa17534c1795836a7c78f
parent5ad7389bdd1abe7d2c6f73a233af1a7a69e96285 (diff)
parent42a417e49a3ab370530bd8166ba40ecb3d82d6d1 (diff)
downloadrust-db3cb435c1197ef3e3919c03b7f81ca8bffbd007.tar.gz
rust-db3cb435c1197ef3e3919c03b7f81ca8bffbd007.zip
Auto merge of #87774 - camelid:process-typo, r=jyn514
Fix typo

Add missing "by".
-rw-r--r--library/std/src/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index d3e271df8d8..f5ce5210f81 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -1457,7 +1457,7 @@ impl ExitStatus {
     ///
     /// 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.