diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-05 17:43:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-05 17:43:30 +0200 |
| commit | 76f9f6b2ab61d79824ec2c447edbb89f01e5a64c (patch) | |
| tree | 81ba08ea7a348462dc00502744d8cdb62105acd3 /src/libstd | |
| parent | 713ebb462c695c3b23078830d5aa7135604f8f19 (diff) | |
| parent | dd12f39b359093b19034bf2384f9ed195d61d586 (diff) | |
| download | rust-76f9f6b2ab61d79824ec2c447edbb89f01e5a64c.tar.gz rust-76f9f6b2ab61d79824ec2c447edbb89f01e5a64c.zip | |
Rollup merge of #61534 - ReinierMaas:patch-1, r=Centril
Edit docs of ExitStatus The documentation of [`ExitStatus`] are extended to be at the same depth as [`Output`].
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/process.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 6e4c6e4c366..a568f466637 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -1153,10 +1153,13 @@ impl From<fs::File> for Stdio { /// /// This `struct` is used to represent the exit status of a child process. /// Child processes are created via the [`Command`] struct and their exit -/// status is exposed through the [`status`] method. +/// status is exposed through the [`status`] method, or the [`wait`] method +/// of a [`Child`] process. /// /// [`Command`]: struct.Command.html +/// [`Child`]: struct.Child.html /// [`status`]: struct.Command.html#method.status +/// [`wait`]: struct.Child.html#method.wait #[derive(PartialEq, Eq, Clone, Copy, Debug)] #[stable(feature = "process", since = "1.0.0")] pub struct ExitStatus(imp::ExitStatus); |
