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

Format gfx platform #21373 #21610

Merged
merged 2 commits into from Sep 7, 2018
Merged

Format gfx platform #21373 #21610

merged 2 commits into from Sep 7, 2018

Conversation

@kingdido999
Copy link
Contributor

kingdido999 commented Sep 5, 2018

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

This change is Reviewable

kingdido999
@highfive
Copy link

highfive commented Sep 5, 2018

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 of 53 tasks complete
@jdm
Copy link
Member

jdm commented Sep 5, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

📌 Commit c57c99d has been approved by jdm

@highfive highfive assigned jdm and unassigned avadacatavra Sep 5, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

Testing commit c57c99d with merge a6cef93...

bors-servo added 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
Contributor

bors-servo commented Sep 5, 2018

💔 Test failed - linux-dev

@tigercosmos
Copy link
Collaborator

tigercosmos commented Sep 5, 2018

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

you need a manual fix here.

@jdm
Copy link
Member

jdm commented Sep 5, 2018

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

@kingdido999
Copy link
Contributor Author

kingdido999 commented Sep 5, 2018

Fixed.

@tigercosmos
Copy link
Collaborator

tigercosmos commented Sep 5, 2018

please squash commits

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

This comment has been minimized.

Copy link
@nox

nox Sep 5, 2018

Member

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

This comment has been minimized.

Copy link
@kingdido999

kingdido999 Sep 6, 2018

Author Contributor

I'll file a bug to rustfmt 😢

This comment has been minimized.

Copy link
@kingdido999

kingdido999 Sep 6, 2018

Author Contributor

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

@jdm
Copy link
Member

jdm commented Sep 7, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Sep 7, 2018

📌 Commit f8d850b has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Sep 7, 2018

Testing commit f8d850b with merge 41a6c0c...

bors-servo added 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
Contributor

bors-servo commented Sep 7, 2018

@bors-servo bors-servo merged commit f8d850b into servo:master Sep 7, 2018
2 of 4 checks passed
2 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

7 participants
You can’t perform that action at this time.