]> git.lizzy.rs Git - rust.git/commitdiff
Add note about being blocked on input.
authorCorey Farwell <coreyf@rwell.org>
Fri, 22 Sep 2017 01:11:11 +0000 (21:11 -0400)
committerCorey Farwell <coreyf@rwell.org>
Fri, 22 Sep 2017 01:11:11 +0000 (21:11 -0400)
src/libstd/process.rs

index 33451a470d0130ac220f8f3e58a6133b461d552b..1869ad3ed707a088260c6bdf80ce7e45431d6a82 100644 (file)
@@ -157,7 +157,8 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
 /// 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