Skip to content

Commit 32c4b71

Browse files
author
Pirh
committed
Link std::process::Output to Command and Child
1 parent 3ed8b69 commit 32c4b71

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/libstd/process.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,14 @@ impl AsInnerMut<imp::Command> for Command {
701701
fn as_inner_mut(&mut self) -> &mut imp::Command { &mut self.inner }
702702
}
703703

704-
/// The output of a finished process.
704+
/// The output of a finished process. This is returned in a Result by
705+
/// either the [`output`] method of a [`Command`], or the
706+
/// [`wait_with_output`] method of a [`Child`] process.
707+
///
708+
/// [`Command`]: struct.Command.html
709+
/// [`Child`]: struct.Child.html
710+
/// [`output`]: struct.Command.html#method.output
711+
/// [`wait_with_output`]: struct.Child.html#method.wait_with_output
705712
#[derive(PartialEq, Eq, Clone)]
706713
#[stable(feature = "process", since = "1.0.0")]
707714
pub struct Output {

0 commit comments

Comments
 (0)