Skip to content

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

Merged
merged 1 commit into from
Oct 14, 2015
Merged

Run rustfmt on liballoc_jemalloc. #28988

merged 1 commit into from
Oct 14, 2015

Conversation

ahmedcharles
Copy link
Contributor

No description provided.

@ahmedcharles
Copy link
Contributor Author

r? @nrc

@rust-highfive rust-highfive assigned nrc and unassigned alexcrichton Oct 12, 2015
@rust-highfive
Copy link
Contributor

r? @alexcrichton

(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) }
Copy link
Contributor

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.

Copy link
Contributor Author

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

@nrc
Copy link
Member

nrc commented Oct 13, 2015

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 13, 2015

📌 Commit 5ea1f9f has been approved by nrc

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Oct 13, 2015
bors added a commit that referenced this pull request Oct 14, 2015
@bors bors merged commit 5ea1f9f into rust-lang:master Oct 14, 2015
@ahmedcharles ahmedcharles deleted the liballoc_jemalloc branch February 26, 2016 00:55
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.

6 participants