Skip to content

Commit 28a4f57

Browse files
committed
Update ChildStdin/ChildStdout docs to be clearer
1 parent 0634f0a commit 28a4f57

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/libstd/process.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,9 @@ impl fmt::Debug for Child {
148148
}
149149
}
150150

151-
/// A handle to a child process's stdin. This struct is used in the [`stdin`]
152-
/// field on [`Child`].
151+
/// A handle to a child process's stdin.
152+
///
153+
/// This struct is used in the [`stdin`] field on [`Child`].
153154
///
154155
/// [`Child`]: struct.Child.html
155156
/// [`stdin`]: struct.Child.html#structfield.stdin
@@ -190,8 +191,9 @@ impl fmt::Debug for ChildStdin {
190191
}
191192
}
192193

193-
/// A handle to a child process's stdout. This struct is used in the [`stdout`]
194-
/// field on [`Child`].
194+
/// A handle to a child process's stdout.
195+
///
196+
/// This struct is used in the [`stdout`] field on [`Child`].
195197
///
196198
/// [`Child`]: struct.Child.html
197199
/// [`stdout`]: struct.Child.html#structfield.stdout

0 commit comments

Comments
 (0)