Uh oh!
There was an error while loading. Please reload this page.
Replace _, _ with .. in patterns - #36203
Merged
Merged
Conversation
petrochenkov
commented
Sep 1, 2016
ContributorAuthor
r? @nrc (This is a formatting/style kind of PR and |
nrc
commented
Sep 2, 2016
Member
@bors: r+ |
bors
commented
Sep 2, 2016
Collaborator
📌 Commit 15dd493 has been approved by |
bors
commented
Sep 2, 2016
Collaborator
☔ The latest upstream changes (presumably #35761) made this pull request unmergeable. Please resolve the merge conflicts. |
petrochenkov
commented
Sep 2, 2016
ContributorAuthor
@bors r=nrc |
bors
commented
Sep 2, 2016
Collaborator
📌 Commit e4bff3d has been approved by |
bors
commented
Sep 3, 2016
Collaborator
☔ The latest upstream changes (presumably #35957) made this pull request unmergeable. Please resolve the merge conflicts. |
petrochenkov
commented
Sep 4, 2016
ContributorAuthor
@bors r=nrc |
bors
commented
Sep 4, 2016
Collaborator
📌 Commit e05e74a has been approved by |
bors
commented
Sep 4, 2016
Collaborator
⌛ Testing commit e05e74a with merge 91f057d... |
bors added a commit
that referenced
this pull request
Sep 4, 2016
Replace `_, _` with `..` in patterns This is how #33627 looks in action. Looks especially nice in leftmost/rightmost positions `(first, ..)`/`(.., last)`. I haven't touched libsyntax intentionally because the feature is still unstable.
bors
commented
Sep 5, 2016
Collaborator
This was referenced Sep 5, 2016
bors added a commit
that referenced
this pull request
Nov 8, 2016
Stabilize `..` in tuple (struct) patterns I'd like to nominate `..` in tuple and tuple struct patterns for stabilization. This feature is a relatively small extension to existing stable functionality and doesn't have known blockers. The feature first appeared in Rust 1.10 6 months ago. An example of use: #36203Closes#33627 r? @nikomatsakis
bors added a commit
that referenced
this pull request
Nov 8, 2016
Stabilize `..` in tuple (struct) patterns I'd like to nominate `..` in tuple and tuple struct patterns for stabilization. This feature is a relatively small extension to existing stable functionality and doesn't have known blockers. The feature first appeared in Rust 1.10 6 months ago. An example of use: #36203Closes#33627 r? @nikomatsakis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is how #33627 looks in action.
Looks especially nice in leftmost/rightmost positions
(first, ..)/(.., last).I haven't touched libsyntax intentionally because the feature is still unstable.