diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-03-26 02:34:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-26 02:34:42 +0100 |
| commit | 85d08e9afe67cb21a7ce9a7904591988d42a30ac (patch) | |
| tree | b3267f9a98c1e019af8d14b39baffadc9dcf354c | |
| parent | 827d1ea590643bf65c8a8a6898f8970238eedec7 (diff) | |
| parent | 88ca6c22193514246538be52be01015dcb530aa5 (diff) | |
| download | rust-85d08e9afe67cb21a7ce9a7904591988d42a30ac.tar.gz rust-85d08e9afe67cb21a7ce9a7904591988d42a30ac.zip | |
Rollup merge of #83463 - ijackson:exitstatusext-doc-grammar, r=kennytm
ExitStatusExt: Fix missing word in two docs messages Looks like I missed the lack of these "and"s.
| -rw-r--r-- | library/std/src/sys/unix/ext/process.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/unix/ext/process.rs b/library/std/src/sys/unix/ext/process.rs index 1276edc6af6..bc3bc0dcb0c 100644 --- a/library/std/src/sys/unix/ext/process.rs +++ b/library/std/src/sys/unix/ext/process.rs @@ -227,14 +227,14 @@ pub trait ExitStatusExt: Sealed { /// If the process was stopped by a signal, returns that signal. /// /// In other words, if `WIFSTOPPED`, this returns `WSTOPSIG`. This is only possible if the status came from - /// a `wait` system call which was passed `WUNTRACED`, was then converted into an `ExitStatus`. + /// a `wait` system call which was passed `WUNTRACED`, and was then converted into an `ExitStatus`. #[unstable(feature = "unix_process_wait_more", issue = "80695")] fn stopped_signal(&self) -> Option<i32>; /// Whether the process was continued from a stopped status. /// /// Ie, `WIFCONTINUED`. This is only possible if the status came from a `wait` system call - /// which was passed `WCONTINUED`, was then converted into an `ExitStatus`. + /// which was passed `WCONTINUED`, and was then converted into an `ExitStatus`. #[unstable(feature = "unix_process_wait_more", issue = "80695")] fn continued(&self) -> bool; |
