-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Update ChildStderr docs to be clearer #40829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,8 +233,9 @@ impl fmt::Debug for ChildStdout { | |
} | ||
} | ||
|
||
/// A handle to a child process's stderr. This struct is used in the [`stderr`] | ||
/// field on [`Child`]. | ||
/// A handle to a child process's stderr. It can be used to | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please keep "This struct is used in the [ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not saying to remove it, I'm saying that there needs to be whitespace between. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay will do. That makes more sense. |
||
/// read any errors that the child process has output while | ||
/// running. | ||
/// | ||
/// [`Child`]: struct.Child.html | ||
/// [`stderr`]: struct.Child.html#structfield.stderr | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So what we need is a newline between this sentence and the next. rustdoc treats the first paragraph as the summary so
that kind of thing. make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to have it this way as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhhh okay got it.