Skip to content

Format gfx platform #21373 - #21610

Merged
bors-servo merged 2 commits into
servo:masterfrom
kingdido999:master
Sep 7, 2018
Merged

bors-servo merged 2 commits into
servo:masterfrom
kingdido999:master

Conversation

@kingdido999

@kingdido999 kingdido999 commented Sep 5, 2018 •

Copy link
Copy Markdown
rustfmt $(find components/gfx/platform -type f -name "*.rs")

This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 5, 2018
@highfive

highfive commented Sep 5, 2018

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify gfx code, but no tests are modified. Please consider adding a test!

@jdm jdm mentioned this pull request Sep 5, 2018
53 tasks done
@jdm

jdm commented Sep 5, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit c57c99d has been approved by jdm

@highfive highfive assigned jdm and unassigned avadacatavra Sep 5, 2018
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 5, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit c57c99d with merge a6cef93...

bors-servo pushed a commit that referenced this pull request Sep 5, 2018
Format gfx platform #21373

```bash
rustfmt $(find components/gfx/platform -type f -name "*.rs")
```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21610)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 5, 2018
@tigercosmos

Copy link
Copy Markdown
Contributor
./components/gfx/platform/macos/font.rs:214: Line is longer than 120 characters

you need a manual fix here.

@jdm

jdm commented Sep 5, 2018

Copy link
Copy Markdown
Member

Perhaps try adding a newline above the two comment lines that were over-indented by rustfmt.

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 5, 2018
@kingdido999

Copy link
Copy Markdown
Author

Fixed.

@tigercosmos

Copy link
Copy Markdown
Contributor

please squash commits

.field(
"bytes",
&self.bytes.as_ref().map(|b| format!("[{} bytes]", b.len())),
).field("identifier", &self.identifier)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't the next .field call start on a new line? oO

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I'll file a bug to rustfmt 😢

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Looks like a similar issue has been reported: rust-lang/rustfmt#2932

@jdm

jdm commented Sep 7, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f8d850b has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 7, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f8d850b with merge 41a6c0c...

bors-servo pushed a commit that referenced this pull request Sep 7, 2018
Format gfx platform #21373

```bash
rustfmt $(find components/gfx/platform -type f -name "*.rs")
```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21610)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit f8d850b into servo:master Sep 7, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 7, 2018
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.

7 participants