about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-10-15 14:21:51 +0800
committerGitHub <noreply@github.com>2017-10-15 14:21:51 +0800
commit430ac4ba50991948357e86050bb83c9f6a780cb7 (patch)
tree4e620229cae216a81658cd8e891be19f0f6d3676
parentf5eb33f4e5ea2b78cfcc34cc42dda8701b2a0f85 (diff)
parent8c4a68dca1428fab4bfb9c9f176ad66e2e1d85fc (diff)
downloadrust-430ac4ba50991948357e86050bb83c9f6a780cb7.tar.gz
rust-430ac4ba50991948357e86050bb83c9f6a780cb7.zip
Rollup merge of #45113 - Pirh:process_output_links, r=steveklabnik
Link std::process::Output to Command and Child

As per #29370
-rw-r--r--src/libstd/process.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 7d8ce4154fb..f448cffd372 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -702,6 +702,15 @@ impl AsInnerMut<imp::Command> for Command {
 }
 
 /// The output of a finished process.
+///
+/// This is returned in a Result by either the [`output`] method of a
+/// [`Command`], or the [`wait_with_output`] method of a [`Child`]
+/// process.
+///
+/// [`Command`]: struct.Command.html
+/// [`Child`]: struct.Child.html
+/// [`output`]: struct.Command.html#method.output
+/// [`wait_with_output`]: struct.Child.html#method.wait_with_output
 #[derive(PartialEq, Eq, Clone)]
 #[stable(feature = "process", since = "1.0.0")]
 pub struct Output {