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

run rustfmt on liballoc_jemalloc folder #34086

Merged
merged 1 commit into from
Jun 10, 2016
Merged

run rustfmt on liballoc_jemalloc folder #34086

merged 1 commit into from
Jun 10, 2016

Conversation

srinivasreddy
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

"static"
} else {
"dylib"
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous version was much better here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @nrc . In the If expression. If we return static (?) strings and the total if expression fits under 100 characters, then we format the code like this.
let kind = if name.ends_with(".a") { "static" } else { "dylib" };
what do you say?

@brson
Copy link
Contributor

brson commented Jun 7, 2016

@nagisa Can we go ahead and land this or do you want that formatting fixed here?

@nagisa
Copy link
Member

nagisa commented Jun 7, 2016

Its fine I guess. Eventually somebody else will come along and submit a PR with the same thing in it anyway.

@bors r+

@bors
Copy link
Contributor

bors commented Jun 7, 2016

📌 Commit adf2c43 has been approved by nagisa

@sanxiyn
Copy link
Member

sanxiyn commented Jun 8, 2016

@bors rollup

@bors
Copy link
Contributor

bors commented Jun 10, 2016

⌛ Testing commit adf2c43 with merge a9234c1...

bors added a commit that referenced this pull request Jun 10, 2016
sanxiyn added a commit to sanxiyn/rust that referenced this pull request Jun 10, 2016
…lloc, r=nagisa

run rustfmt on liballoc_jemalloc folder
@bors bors merged commit adf2c43 into rust-lang:master Jun 10, 2016
@srinivasreddy srinivasreddy deleted the rustfmt_liballoc_jemalloc branch June 10, 2016 12:36
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