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.
This commit is contained in:
Dylan DPC 2021-03-26 02:34:42 +01:00 committed by GitHub
commit 85d08e9afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;