Update ChildStdin/ChildStdout docs to be clearer

This commit is contained in:
Michael Gattozzi
2017-05-03 01:13:18 -04:00
parent 0634f0a30f
commit 28a4f57dd0
+6 -4
View File
@@ -148,8 +148,9 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
}
}
/// 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 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
}
}
/// 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