Skip to content

Conversation

@hanbings-agent
Copy link
Owner

Allows omitting trailing commas and using newlines as implicit separators for match arms, enum variants, struct fields (definitions and literals).

This enhances readability by reducing boilerplate in multi-line lists without altering semantics. The implementation includes robust parsing for match arms to prevent misinterpretation and handles macro-expanded tokens. Explicit commas remain mandatory for items on the same line.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Dec 22, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants