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

Partially format librustc_mir with rustfmt. #28884

Merged
merged 1 commit into from
Oct 7, 2015
Merged

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Oct 7, 2015

This commit contains some of the changes proposed by a rustfmt invocation,
chosen based on the fairly non-deterministic metric of how much I liked the
change. I expect we will run rustfmt on this crate again later, probably
accepting more of its changes. For now, this is already an improvement over
the status-quo.

This commit contains some of the changes proposed by a rustfmt invocation,
chosen based on the fairly non-deterministic metric of how much I liked the
change. I expect we will run rustfmt on this crate again later, probably
accepting more of its changes. For now, this is already an improvement over
the status-quo.
@Ms2ger
Copy link
Contributor Author

Ms2ger commented Oct 7, 2015

CC @nrc

@rust-highfive
Copy link
Contributor

r? @pnkfelix

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

@@ -113,45 +113,128 @@ pub struct Expr<'tcx> {

#[derive(Clone, Debug)]
pub enum ExprKind<'tcx> {
Copy link
Contributor

Choose a reason for hiding this comment

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

This enum has inflated from 40 lines to 120. Did its author perhaps intend it to fit on a single screen?

Copy link
Member

Choose a reason for hiding this comment

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

@nrc
Copy link
Member

nrc commented Oct 7, 2015

r? @nikomatsakis

@nrc
Copy link
Member

nrc commented Oct 7, 2015

r+ from me, @nikomatsakis not sure if you want to glance over and see if anything offends you

@nikomatsakis
Copy link
Contributor

@bors r+

I don't hate it too much, which is probably the best you can expect. :)

@bors
Copy link
Collaborator

bors commented Oct 7, 2015

📌 Commit c73e78c has been approved by nikomatsakis

@bors
Copy link
Collaborator

bors commented Oct 7, 2015

⌛ Testing commit c73e78c with merge e50298f...

bors added a commit that referenced this pull request Oct 7, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
This commit contains some of the changes proposed by a rustfmt invocation,
chosen based on the fairly non-deterministic metric of how much I liked the
change. I expect we will run rustfmt on this crate again later, probably
accepting more of its changes. For now, this is already an improvement over
the status-quo.
@bors bors merged commit c73e78c into rust-lang:master Oct 7, 2015
@Ms2ger Ms2ger deleted the fmt-mir branch December 30, 2015 16:18
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.

None yet

7 participants