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 4 pull requests #60054

Merged
merged 8 commits into from
Apr 18, 2019
Merged

Rollup of 4 pull requests #60054

merged 8 commits into from
Apr 18, 2019

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Apr 17, 2019

Successful merges:

Failed merges:

r? @ghost

tesuji and others added 8 commits April 12, 2019 05:18
Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std

cc rust-lang#59893
…c-fix, r=rkruppe

Remove collection-specific `with_capacity` documentation from `std::collections`

Fixes rust-lang#59931

The style of `std::collections` module doc is very much a beginner friendly guide, and documenting niche, collection-specific behaviour feels out of place, if not brittle.

The note about `VecDeque` is outdated (see issue), and while `Vec` probably won't change its guarantees any time soon, the users who are interested in its allocation properties will find that in its own documentation.
Resolve inconsistency in error messages between "parameter" and "variable".

The inconsistency was introduced in 104fe1c (rust-lang#33619), when a label saying `type variable` was added to an error with a message talking about `type parameters`.
Given that `parameter` is far more prevalent when referring to generics in the context of Rust, IMO it should be that in both the message and the label.

r? @nikomatsakis or @estebank
@Centril
Copy link
Contributor Author

Centril commented Apr 17, 2019

@bors r+ p=4

@bors
Copy link
Contributor

bors commented Apr 17, 2019

📌 Commit 42b3cf1 has been approved by Centril

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 17, 2019
@bors
Copy link
Contributor

bors commented Apr 17, 2019

⌛ Testing commit 42b3cf1 with merge 9387927...

bors added a commit that referenced this pull request Apr 17, 2019
Rollup of 4 pull requests

Successful merges:

 - #59908 (Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std)
 - #59984 (Remove collection-specific `with_capacity` documentation from `std::collections`)
 - #60036 (Remove nrc from toolstate pings)
 - #60037 (Resolve inconsistency in error messages between "parameter" and "variable".)

Failed merges:

r? @ghost
@bors
Copy link
Contributor

bors commented Apr 18, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: Centril
Pushing 9387927 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 18, 2019
@bors bors merged commit 42b3cf1 into rust-lang:master Apr 18, 2019
@Centril Centril deleted the rollup-o40xxaa branch April 18, 2019 11:45
@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
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: 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.

6 participants