about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorReinier Maas <ReinierMaas@users.noreply.github.com>2019-06-05 08:41:37 +0200
committerGitHub <noreply@github.com>2019-06-05 08:41:37 +0200
commit674f24e13270db4e172bb1eb4d8a3b5c4da20cb5 (patch)
tree2cc3bd3e7e712c358a990ed1b329cf5174d23144 /src/libstd
parent81eb15210a0c43820b146cd9ae6fd2062e1b2922 (diff)
downloadrust-674f24e13270db4e172bb1eb4d8a3b5c4da20cb5.tar.gz
rust-674f24e13270db4e172bb1eb4d8a3b5c4da20cb5.zip
Edit docs of ExitStatus
The documentation of [`ExitStatus`] are extended to be at the same depth as [`Output`].
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 6e4c6e4c366..6d20c8b49f4 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -1153,10 +1153,13 @@ impl From<fs::File> for Stdio {
 ///
 /// This `struct` is used to represent the exit status of a child process.
 /// Child processes are created via the [`Command`] struct and their exit
-/// status is exposed through the [`status`] method.
+/// status is exposed through the [`status`] method, or the [`wait`] method 
+/// of a [`Child`] process.
 ///
 /// [`Command`]: struct.Command.html
+/// [`Child`]: struct.Child.html
 /// [`status`]: struct.Command.html#method.status
+/// [`wait`]: struct.Child.html#method.wait
 #[derive(PartialEq, Eq, Clone, Copy, Debug)]
 #[stable(feature = "process", since = "1.0.0")]
 pub struct ExitStatus(imp::ExitStatus);