Skip to content

Commit 430ac4b

Browse files
authored
Rollup merge of rust-lang#45113 - Pirh:process_output_links, r=steveklabnik
Link std::process::Output to Command and Child As per rust-lang#29370
2 parents f5eb33f + 8c4a68d commit 430ac4b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/libstd/process.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,15 @@ impl AsInnerMut<imp::Command> for Command {
702702
}
703703

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

0 commit comments

Comments
 (0)