-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Run rustfmt on liballoc_jemalloc. #28988
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
Conversation
r? @nrc |
(rust_highfive has picked a reviewer for you, use r? to override) |
|
||
fn align_to_flags(align: usize) -> c_int { | ||
if align <= MIN_ALIGN { 0 } else { mallocx_align(align) } |
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.
I'm sympathetic to single expression if-branches to go one after another, for ternary-operator-like formatting.
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.
Feel free to submit an issue or a pull request: https://github.com/nrc/rustfmt
@bors: r+ rollup |
📌 Commit 5ea1f9f has been approved by |
No description provided.