Skip to content

Commit a7c8bd1

Browse files
authored
Rollup merge of #41721 - mgattozzi:stdin-stdout-update, r=steveklabnik
Update ChildStdin/ChildStdout docs to be clearer This is part of #29370 and continues the work from #40829
2 parents 3bfc72f + 28a4f57 commit a7c8bd1

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)