diff options
| author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-03-25 10:48:27 +0000 |
|---|---|---|
| committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-03-25 10:48:27 +0000 |
| commit | 88ca6c22193514246538be52be01015dcb530aa5 (patch) | |
| tree | d6f0d3f38055032b73e400b1a5eabeca7e40f5b1 /library/std/src/sys/unix/ext/process.rs | |
| parent | 9b6339e4b9747d473270baa42e77e1d2fff39bf4 (diff) | |
| download | rust-88ca6c22193514246538be52be01015dcb530aa5.tar.gz rust-88ca6c22193514246538be52be01015dcb530aa5.zip | |
ExitStatusExt: Fix missing word in two docs messages
Looks like I missed the lack of these "and"s. Acked-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'library/std/src/sys/unix/ext/process.rs')
| -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; |
