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 librustc_metadata folder #37350

Merged
merged 1 commit into from
Oct 28, 2016
Merged

run rustfmt on librustc_metadata folder #37350

merged 1 commit into from
Oct 28, 2016

Conversation

srinivasreddy
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Collaborator

r? @nrc

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

// crate will import them from their original source.
!filemap.lines.borrow().is_empty() && !filemap.is_imported()
})
.map(|filemap| &**filemap))
Copy link
Member

Choose a reason for hiding this comment

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

@nrc @ubsan This is obnoxious. I specifically indent my closure calls this way to avoid right-ward drift.

Copy link
Member

Choose a reason for hiding this comment

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

I think this is somewhere we can teach Rustfmt to be a bit smarter, but its not the end of the world IMO. More annoying to me is that the alignment of dots is misleading about the scope.

@bors
Copy link
Contributor

bors commented Oct 23, 2016

☔ The latest upstream changes (presumably #37301) made this pull request unmergeable. Please resolve the merge conflicts.

@nrc
Copy link
Member

nrc commented Oct 25, 2016

@bors: r+

@bors
Copy link
Contributor

bors commented Oct 25, 2016

📌 Commit ca83d02 has been approved by nrc

@bors
Copy link
Contributor

bors commented Oct 25, 2016

☔ The latest upstream changes (presumably #37292) made this pull request unmergeable. Please resolve the merge conflicts.

@srinivasreddy
Copy link
Contributor Author

@nrc approve pls

@nrc
Copy link
Member

nrc commented Oct 25, 2016

@bors: r+

@bors
Copy link
Contributor

bors commented Oct 25, 2016

📌 Commit 892a05d has been approved by nrc

Manishearth added a commit to Manishearth/rust that referenced this pull request Oct 26, 2016
run rustfmt on librustc_metadata folder
type_shorthands: Default::default(),
predicate_shorthands: Default::default()
}.encode_crate_root();
opaque: opaque::Encoder::new(&mut cursor),
Copy link
Contributor

Choose a reason for hiding this comment

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

Strange indent (rustfmt bug?)

@bors
Copy link
Contributor

bors commented Oct 27, 2016

⌛ Testing commit 892a05d with merge 3f44083...

bors added a commit that referenced this pull request Oct 27, 2016
run rustfmt on librustc_metadata folder
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