about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-09-21 21:11:11 -0400
committerCorey Farwell <coreyf@rwell.org>2017-09-21 21:11:11 -0400
commit859ebef62fa0e7fcfc2af200dac11d2f899ea37f (patch)
tree414c93fe98067fa65709f1d3322d66fcfffab94b /src/libstd/process.rs
parent5ee7db6a0ebe8803d420c591325605111a21a400 (diff)
downloadrust-859ebef62fa0e7fcfc2af200dac11d2f899ea37f.tar.gz
rust-859ebef62fa0e7fcfc2af200dac11d2f899ea37f.zip
Add note about being blocked on input.
Diffstat (limited to 'src/libstd/process.rs')
-rw-r--r--src/libstd/process.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 33451a470d0..1869ad3ed70 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -157,7 +157,8 @@ impl fmt::Debug for Child {
 /// This struct is used in the [`stdin`] field on [`Child`].
 ///
 /// When an instance of `ChildStdin` is [dropped], the `ChildStdin`'s underlying
-/// file handle will be closed.
+/// file handle will be closed. If the child process was blocked on input prior
+/// to being dropped, it will become unblocked after dropping.
 ///
 /// [`Child`]: struct.Child.html
 /// [`stdin`]: struct.Child.html#structfield.stdin