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

Rollup of 6 pull requests #27544

Merged
merged 13 commits into from
Aug 5, 2015
Merged

Rollup of 6 pull requests #27544

merged 13 commits into from
Aug 5, 2015

Conversation

lastorset and others added 13 commits July 30, 2015 21:48
This includes a new example with Rectangle, instead of reusing HasArea,
because fn area would require the Mul trait, and the added complexity of
that would be better left for the Operators and Overloading chapter.

Squashed at reviewer's request: Move teaser for trait bounds to bottom
Squashed at reviewer's request:

Add heading at the end of the introductory material
Spice up introductory paragraphs a bit
Use quotes instead of <code> for phrase
Remove "other" in "other restrictions" (it's not obvious that any other
restrictions have been mentioned)
"Default methods" is a second-level heading, but is not a subsection of
"Where clause"
Reword "Default methods" introduction: it's not the "last feature" on
this page
'work' can refer to the game itself, ie, 'this compiles but the game isn't finished,'
so 'compile' is a more clear way to describe the problem.

Thanks jhun on irc
This should be a bit more prominent.

Fixes rust-lang#27109
We haven't discussed this syntax yet, so provide a basic explanation
and link up to later chapters.

Fixes rust-lang#26917
This wording was too strong.

Fixes rust-lang#27523
…eveklabnik

I also included some smaller trait-related changes.

Fixes rust-lang#26991.

r? @shepmaster 
r? @steveklabnik
'work' can refer to the game itself, ie, 'this compiles but the game isn't finished,'
so 'compile' is a more clear way to describe the problem.

Thanks jhun on irc
We haven't discussed this syntax yet, so provide a basic explanation
and link up to later chapters.

Fixes rust-lang#26917
1. mention them in the function chapter
2. mention their coercion to closures in the closures chapter

Fixes rust-lang#26746
@rust-highfive
Copy link
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik
Copy link
Member Author

@bors: r+ p=10

@bors
Copy link
Collaborator

bors commented Aug 5, 2015

📌 Commit 4280507 has been approved by steveklabnik

@steveklabnik steveklabnik assigned steveklabnik and unassigned pcwalton Aug 5, 2015
@bors
Copy link
Collaborator

bors commented Aug 5, 2015

⌛ Testing commit 4280507 with merge a0eb7a2...

bors added a commit that referenced this pull request Aug 5, 2015
@bors bors merged commit 4280507 into rust-lang:master Aug 5, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants