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

Provide completion in struct patterns #1572

Merged
merged 1 commit into from Jul 21, 2019

Conversation

@viorina
Copy link
Contributor

commented Jul 21, 2019

No description provided.

@matklad
Copy link
Collaborator

left a comment

bors r+

Thanks!

@@ -235,7 +240,7 @@ fn find_node_with_range<N: AstNode>(syntax: &SyntaxNode, range: TextRange) -> Op
}

fn is_node<N: AstNode>(node: &SyntaxNode) -> bool {
match node.ancestors().filter_map(N::cast).next() {
match node.ancestors().find_map(N::cast) {

This comment has been minimized.

Copy link
@matklad

matklad Jul 21, 2019

Collaborator

👍

bors bot added a commit that referenced this pull request Jul 21, 2019

Merge #1572
1572: Provide completion in struct patterns r=matklad a=viorina



Co-authored-by: Ekaterina Babshukova <ekaterina.babshukova@yandex.ru>
@bors

This comment has been minimized.

Copy link
Contributor

commented Jul 21, 2019

@bors bors bot merged commit 5fe19d2 into rust-analyzer:master Jul 21, 2019

2 checks passed

bors Build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@viorina viorina deleted the viorina:pat-completion branch Jul 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.