Skip to content

Commit

Permalink
Rollup merge of rust-lang#41721 - mgattozzi:stdin-stdout-update, r=st…
Browse files Browse the repository at this point in the history
…eveklabnik

Update ChildStdin/ChildStdout docs to be clearer

This is part of rust-lang#29370 and continues the work from rust-lang#40829
  • Loading branch information
frewsxcv authored May 3, 2017
2 parents 3bfc72f + 28a4f57 commit a7c8bd1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7c8bd1

Please sign in to comment.