about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPirh <pirh.badger@gmail.com>2017-10-08 22:11:20 +0100
committerPirh <pirh.badger@gmail.com>2017-10-08 22:16:09 +0100
commit32c4b714715338e82711e3611681aada3f28cf39 (patch)
tree71a8b007cb9ebe29f82e54fe366a1a8583dc4d9f
parent3ed8b698421291f5057059da885cd670d76a47e9 (diff)
downloadrust-32c4b714715338e82711e3611681aada3f28cf39.tar.gz
rust-32c4b714715338e82711e3611681aada3f28cf39.zip
Link std::process::Output to Command and Child
-rw-r--r--src/libstd/process.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index dbb58991215..847dbd14dd6 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -701,7 +701,14 @@ impl AsInnerMut<imp::Command> for Command {
     fn as_inner_mut(&mut self) -> &mut imp::Command { &mut self.inner }
 }
 
-/// The output of a finished process.
+/// 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 {