Skip to content
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

Update Child docs to not have a note section #40812

Merged
merged 3 commits into from Apr 20, 2017
Merged

Update Child docs to not have a note section #40812

merged 3 commits into from Apr 20, 2017

Conversation

mgattozzi
Copy link
Contributor

In #29370 it's noted that for "the Note shouldn't be one, and should come before
the examples." This commit changes the positioning of the section and removes
wording that said take note in order for it to flow better with the surrounding
text and it's new position.

In #29370 it's noted that for "the Note shouldn't be one, and should come before
the examples." This commit changes the positioning of the section and removes
wording that said take note in order for it to flow better with the surrounding
text and it's new position.
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @BurntSushi (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@mgattozzi
Copy link
Contributor Author

r? @steveklabnik

Copy link
Member

@steveklabnik steveklabnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very small nit, and then this is good to go. Thanks a ton!

/// run, even after the `Child` handle to the child process has gone out of
/// scope.
///
/// Calling [`wait`][`wait`] (or other functions that wrap around it) will make
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to duplicate [wait] here, you can drop it, just like [Drop] above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already here when I moved it so I had just kept it. I'll drop it.

@steveklabnik
Copy link
Member

@bors: r+ rollup

thanks! I totally hear you about keeping it the same, might as well fix it while you're here 😄

@bors
Copy link
Contributor

bors commented Mar 25, 2017

📌 Commit 7ef1b39 has been approved by steveklabnik

@mgattozzi
Copy link
Contributor Author

Hahaha yeah I'm not opposed to fixing it, I just wasn't sure if that was some weird markdown thing from before. I figured it'd be better not to touch it.

/// run, even after the `Child` handle to the child process has gone out of
/// scope.
///
/// Calling [`wait`] (or other functions that wrap around it) will make
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it'll work. Better write: "[wait ][ wait ]"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, the space. @mgattozzi did you happen to build this locally? It should work, but it might not.

Copy link
Contributor Author

@mgattozzi mgattozzi Mar 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah not a problem. Sorry was a bit busy this week let me compile locally

@GuillaumeGomez
Copy link
Member

While waiting for others' confirmation, I'll put this PR on wait. Sorry for the bothering.

@bors: r-

@mgattozzi
Copy link
Contributor Author

This did break the link. Working on the fix now.

@steveklabnik
Copy link
Member

@mgattozzi let me know when you have this one updated!

@mgattozzi
Copy link
Contributor Author

[ wait ][ wait ] didn't work either. I think we just need to revert the changes. Thoughts @steveklabnik?

@steveklabnik
Copy link
Member

That's... odd. Given that was the way it was defined below.

@mgattozzi
Copy link
Contributor Author

Hmmm. Looking at it again I had it as "[ wait ][ wait ]" based off the above comments from @GuillaumeGomez let me retry it without the "" and see if that does it.

@GuillaumeGomez
Copy link
Member

Yes sure. We're not in a hurry.

@mgattozzi
Copy link
Contributor Author

Yeah that definitely didn't do it. It worked as was before the change I think it might be best if we leave it that way.

@nagisa
Copy link
Member

nagisa commented Apr 7, 2017

[`wait`]

[`wait`]: URL

Should work just fine if we're following common mark spec properly.

@GuillaumeGomez
Copy link
Member

@nagisa: Indeed.

@mgattozzi
Copy link
Contributor Author

Alright I'll do that then and see if it works out properly

@alexcrichton alexcrichton added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Apr 11, 2017
@Mark-Simulacrum Mark-Simulacrum added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Apr 14, 2017
@carols10cents
Copy link
Member

Friendly ping to keep this on your radar @mgattozzi!

@steveklabnik
Copy link
Member

@bors: r+ rollup

thank you!

@bors
Copy link
Contributor

bors commented Apr 20, 2017

📌 Commit df383b9 has been approved by steveklabnik

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 20, 2017
Update `Child` docs to not have a note section

In rust-lang#29370 it's noted that for "the Note shouldn't be one, and should come before
the examples." This commit changes the positioning of the section and removes
wording that said take note in order for it to flow better with the surrounding
text and it's new position.
bors added a commit that referenced this pull request Apr 20, 2017
Rollup of 2 pull requests

- Successful merges: #40812, #40987
- Failed merges:
@bors bors merged commit df383b9 into rust-lang:master Apr 20, 2017
@mgattozzi
Copy link
Contributor Author

Thanks @carols10cents for the ping. I was a bit busy recently so it was good to get this in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants