-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix: keep parentheses when the precedence of inner expr is lower than the outer one #17187
Conversation
Besides, I'm not sure about the commented-out test: rust-analyzer/crates/ide-assists/src/handlers/apply_demorgan.rs Lines 222 to 231 in ef5c6da
|
Yes we can do definitely do that. |
Thanks! |
☀️ Test successful - checks-actions |
fix #17185
Additionally, this PR simplifies some code in
apply_demorgan
.