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

feat: Add remove_braces assist to remove braces from closures and match arms #18539

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Giga-Bowser
Copy link
Contributor

The changes made to the handling of match arm commas resulted in broader changes than I would've liked, but I think it's worthwhile in this case.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 20, 2024
@Giga-Bowser Giga-Bowser marked this pull request as draft November 21, 2024 17:32
@Giga-Bowser
Copy link
Contributor Author

I will be converting this PR into a full fledged consolidation of block wrapping and unwrapping assists. Problems with this behavior as it stands have been identified in #18537.

@bors
Copy link
Contributor

bors commented Dec 11, 2024

☔ The latest upstream changes (presumably #18657) made this pull request unmergeable. Please resolve the merge conflicts.

@Veykril Veykril added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants