Repository navigation
Format gfx platform #21373 - #21610
Conversation
|
@bors-servo r+ |
|
📌 Commit c57c99d has been approved by |
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 -->
|
💔 Test failed - linux-dev |
you need a manual fix here. |
|
Perhaps try adding a newline above the two comment lines that were over-indented by rustfmt. |
|
Fixed. |
|
please squash commits |
| .field( | ||
| "bytes", | ||
| &self.bytes.as_ref().map(|b| format!("[{} bytes]", b.len())), | ||
| ).field("identifier", &self.identifier) |
There was a problem hiding this comment.
Shouldn't the next .field call start on a new line? oO
There was a problem hiding this comment.
I'll file a bug to rustfmt 😢
There was a problem hiding this comment.
Looks like a similar issue has been reported: rust-lang/rustfmt#2932
|
@bors-servo r+ |
|
📌 Commit f8d850b has been approved by |
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 -->
|
☀️ Test successful - android, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
rustfmt $(find components/gfx/platform -type f -name "*.rs")This change is