about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authormatthewjasper <mjjasper1@gmail.com>2017-04-22 17:55:59 +0100
committermatthewjasper <mjjasper1@gmail.com>2017-04-22 17:55:59 +0100
commit8a3ea01bcae85a3ed0c90ca5603cd88c469172c3 (patch)
tree291c7e740787ea95d87ac7a39f89a99d00b41c3c /src/libstd/process.rs
parent5fc25224da78afcfdd76783c38ad3beff42a990c (diff)
parent6d841da4a0d7629f826117f99052e3d4a7997a7e (diff)
downloadrust-8a3ea01bcae85a3ed0c90ca5603cd88c469172c3.tar.gz
rust-8a3ea01bcae85a3ed0c90ca5603cd88c469172c3.zip
Resolve merge conflict
Diffstat (limited to 'src/libstd/process.rs')
-rw-r--r--src/libstd/process.rs20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 3795c42f5ef..4ec9076de61 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -73,6 +73,15 @@ use sys_common::{AsInner, AsInnerMut, FromInner, IntoInner};
 /// spawning process and can itself be constructed using a builder-style
 /// interface.
 ///
+/// There is no implementation of [`Drop`] for child processes,
+/// so if you do not ensure the `Child` has exited then it will continue to
+/// run, even after the `Child` handle to the child process has gone out of
+/// scope.
+///
+/// Calling [`wait`](#method.wait) (or other functions that wrap around it) will make
+/// the parent process wait until the child has actually exited before
+/// continuing.
+///
 /// # Examples
 ///
 /// ```should_panic
@@ -89,17 +98,6 @@ use sys_common::{AsInner, AsInnerMut, FromInner, IntoInner};
 /// assert!(ecode.success());
 /// ```
 ///
-/// # Note
-///
-/// Take note that there is no implementation of [`Drop`] for child processes,
-/// so if you do not ensure the `Child` has exited then it will continue to
-/// run, even after the `Child` handle to the child process has gone out of
-/// scope.
-///
-/// Calling [`wait`][`wait`] (or other functions that wrap around it) will make
-/// the parent process wait until the child has actually exited before
-/// continuing.
-///
 /// [`Command`]: struct.Command.html
 /// [`Drop`]: ../../core/ops/trait.Drop.html
 /// [`wait`]: #method.wait