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

Rustfmt refusing to format a long match expression #6519

Closed
asibahi opened this issue Mar 23, 2025 · 1 comment
Closed

Rustfmt refusing to format a long match expression #6519

asibahi opened this issue Mar 23, 2025 · 1 comment

Comments

@asibahi
Copy link

asibahi commented Mar 23, 2025

Hello.

I didn't know how to search for this or how to resolve it. So I am posting it as an issue.

this match expression is being completely skipped for formatting. Even for formatting that changes everything (like indent size), this section is completely skipped.

I do not understand what's causing this or how to even search for it. Everything I search for seems about rustfmt::skip

@asibahi
Copy link
Author

asibahi commented Mar 23, 2025

A helpful soul on the Discord server advised me to remove this comment and .. what do you know? It formats now.

I am closing the issue as this is probably a known bug somewhere.

@asibahi asibahi closed this as completed Mar 23, 2025
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

No branches or pull requests

1 participant