Skip to content

Update rustdoc book to suggest using Termination trait instead of hidden ‘foo’ function - #51183

Merged
bors merged 2 commits into
rust-lang:masterfrom
teiesti:rustdoc-book-termination
Jun 5, 2018
Merged

Update rustdoc book to suggest using Termination trait instead of hidden ‘foo’ function#51183
bors merged 2 commits into
rust-lang:masterfrom
teiesti:rustdoc-book-termination

Conversation

@teiesti

Copy link
Copy Markdown
Contributor

Closes#50721.

I suggest that someone double-checks my English since I am not a native speaker.

r? @steveklabnik

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 29, 2018

@steveklabniksteveklabnik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks great, but I have one tiny grammar thing. Thank you so much for doing this!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would change this slightly. This isn't wrong, but sounds a bit strange.

In your examples, handling all errors is not often useful, as it would add

@emilyalbini

Copy link
Copy Markdown
Member

Ping from triage @steveklabnik! This PR needs your review.

@steveklabnik

Copy link
Copy Markdown
Contributor

Thank you!

@bors: r+ rollup

@bors

bors commented Jun 4, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit efa8de8 has been approved by steveklabnik

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 4, 2018
@bors

bors commented Jun 5, 2018

Copy link
Copy Markdown
Collaborator

🔒 Merge conflict

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 5, 2018
@emilyalbini

Copy link
Copy Markdown
Member

@teiesti can you please rebase this PR on top of the latest master?

@teiesti

Copy link
Copy Markdown
ContributorAuthor

Done.

@emilyalbini

Copy link
Copy Markdown
Member

@steveklabnik this should be approved again.

@steveklabnik

Copy link
Copy Markdown
Contributor

@bors: r+ rollup

@bors

bors commented Jun 5, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 089da06 has been approved by steveklabnik

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 5, 2018
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jun 5, 2018
…=steveklabnik
Update rustdoc book to suggest using Termination trait instead of hidden ‘foo’ function
Closesrust-lang#50721.
I suggest that someone double-checks my English since I am not a native speaker.
r? @steveklabnik
bors added a commit that referenced this pull request Jun 5, 2018
Rollup of 7 pull requests
Successful merges:
- #50852 (Add doc comment to hiding portions of code example)
- #51183 (Update rustdoc book to suggest using Termination trait instead of hidden ‘foo’ function)
- #51255 (Fix confusing error message for sub_instant)
- #51256 (Fix crate-name option in rustdoc)
- #51308 (Check array indices in constant propagation)
- #51343 (test: Ignore some problematic tests on sparc and sparc64)
- #51358 (Tests that #39963 is fixed on MIR borrowck)
Failed merges:
@bors
bors merged commit 089da06 into rust-lang:masterJun 5, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@teiesti@emilyalbini@steveklabnik@bors@rust-highfive