-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Add code action to expand spread in patterns #4338
Conversation
8877b4e
to
ab29633
Compare
10065ad
to
388d70c
Compare
Should be all good, I've renamed the action to "fill in unused fields" and reverted the "unused -> ignored" change, thanks!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!!
return vec![]; | ||
}; | ||
|
||
// We add all the missing positional arguments as `_` before the first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment is out of date
This PR adds a new code action to expand a spread (
..
) used in a pattern with all the ignored fields.This is what it looks like!
