-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
run rustfmt on libsyntax_ext folder #34114
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
cc @nrc take a look |
_ => false | ||
} | ||
}).unwrap_or(tts.len()); | ||
let first_colon = tts.iter() |
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.
@nrc I would love if rustfmt would avoid this kind of indentation (when you have a multi-line closure in the middle of a method chain).
I think this is basically fine to land, but has a couple examples where rustfmt ends up pushing things far to the right. It'd be great to have some rules that can avoid this (though I imagine it's not easy). |
Inputs => Clobbers, | ||
Clobbers => Options, | ||
Options => StateNone, | ||
StateNone => StateNone, | ||
} |
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.
is removing the alignment like this ok?
☔ The latest upstream changes (presumably #34424) made this pull request unmergeable. Please resolve the merge conflicts. |
Closing due to inactivity, but feel free to resubmit with a rebase! |
No description provided.