about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-05-03 18:34:03 -0400
committerGitHub <noreply@github.com>2017-05-03 18:34:03 -0400
commita7c8bd149a88fb4cc502d59c8b29e04c780b3a10 (patch)
treeed3bbe357808aa301a8a350d903d3387b8dd4d9e /src/libstd
parent3bfc72fba6ca3441d2e352a13d8fc648700d6054 (diff)
parent28a4f57dd0161d7602aed0005ebeddaa5e646367 (diff)
downloadrust-a7c8bd149a88fb4cc502d59c8b29e04c780b3a10.tar.gz
rust-a7c8bd149a88fb4cc502d59c8b29e04c780b3a10.zip
Rollup merge of #41721 - mgattozzi:stdin-stdout-update, r=steveklabnik
Update ChildStdin/ChildStdout docs to be clearer

This is part of https://github.com/rust-lang/rust/issues/29370 and continues the work from https://github.com/rust-lang/rust/pull/40829
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 23ebeb4b8e3..3896fc20a2d 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -148,8 +148,9 @@ impl fmt::Debug for Child {
     }
 }
 
-/// A handle to a child process's stdin. This struct is used in the [`stdin`]
-/// field on [`Child`].
+/// A handle to a child process's stdin.
+///
+/// This struct is used in the [`stdin`] field on [`Child`].
 ///
 /// [`Child`]: struct.Child.html
 /// [`stdin`]: struct.Child.html#structfield.stdin
@@ -190,8 +191,9 @@ impl fmt::Debug for ChildStdin {
     }
 }
 
-/// A handle to a child process's stdout. This struct is used in the [`stdout`]
-/// field on [`Child`].
+/// A handle to a child process's stdout.
+///
+/// This struct is used in the [`stdout`] field on [`Child`].
 ///
 /// [`Child`]: struct.Child.html
 /// [`stdout`]: struct.Child.html#structfield.stdout