Skip to content

Commit 674f24e

Browse files
authored
Edit docs of ExitStatus
The documentation of [`ExitStatus`] are extended to be at the same depth as [`Output`].
1 parent 81eb152 commit 674f24e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libstd/process.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,10 +1153,13 @@ impl From<fs::File> for Stdio {
11531153
///
11541154
/// This `struct` is used to represent the exit status of a child process.
11551155
/// Child processes are created via the [`Command`] struct and their exit
1156-
/// status is exposed through the [`status`] method.
1156+
/// status is exposed through the [`status`] method, or the [`wait`] method
1157+
/// of a [`Child`] process.
11571158
///
11581159
/// [`Command`]: struct.Command.html
1160+
/// [`Child`]: struct.Child.html
11591161
/// [`status`]: struct.Command.html#method.status
1162+
/// [`wait`]: struct.Child.html#method.wait
11601163
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
11611164
#[stable(feature = "process", since = "1.0.0")]
11621165
pub struct ExitStatus(imp::ExitStatus);

0 commit comments

Comments
 (0)