diff options
author | André Vennberg <andre.vennberg@gmail.com> | 2023-01-14 16:33:11 +0100 |
---|---|---|
committer | André Vennberg <andre.vennberg@gmail.com> | 2023-01-14 17:22:04 +0100 |
commit | 0b35f448f8e9f39ed6fc1c494eeb331afba513bc (patch) | |
tree | c2669a980d1b6d0414ec2fc0c79600f0d1b090cf /library/std/src/sys/unix/process/process_unix.rs | |
parent | 44a500c8c187b245638684748f54bd6ec67e0b25 (diff) | |
download | rust-0b35f448f8e9f39ed6fc1c494eeb331afba513bc.tar.gz |
Remove various double spaces in source comments.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
-rw-r--r-- | library/std/src/sys/unix/process/process_unix.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs index 39d1c8b1d8e..c2c4aa1c9df 100644 --- a/library/std/src/sys/unix/process/process_unix.rs +++ b/library/std/src/sys/unix/process/process_unix.rs @@ -666,11 +666,11 @@ impl ExitStatus { } pub fn exit_ok(&self) -> Result<(), ExitStatusError> { - // This assumes that WIFEXITED(status) && WEXITSTATUS==0 corresponds to status==0. This is + // This assumes that WIFEXITED(status) && WEXITSTATUS==0 corresponds to status==0. This is // true on all actual versions of Unix, is widely assumed, and is specified in SuS - // https://pubs.opengroup.org/onlinepubs/9699919799/functions/wait.html . If it is not + // https://pubs.opengroup.org/onlinepubs/9699919799/functions/wait.html. If it is not // true for a platform pretending to be Unix, the tests (our doctests, and also - // procsss_unix/tests.rs) will spot it. `ExitStatusError::code` assumes this too. + // procsss_unix/tests.rs) will spot it. `ExitStatusError::code` assumes this too. match NonZero_c_int::try_from(self.0) { /* was nonzero */ Ok(failure) => Err(ExitStatusError(failure)), /* was zero, couldn't convert */ Err(_) => Ok(()), |