Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFormat component of style_traits #21620
Conversation
highfive
commented
Sep 5, 2018
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @emilio (or someone else) soon. |
|
@bors-servo r+ |
|
|
Format component of style_traits <!-- Please describe your changes on the following line: --> Format `style_traits` with: ``` rustfmt components/style_traits/*.rs ``` --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix part of #21373. - [x] These changes do not require tests because they format the components only. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/21620) <!-- Reviewable:end -->
|
|
Could you rearrange the webrender_api crate to be alphabetical? |
Format component of style_traits <!-- Please describe your changes on the following line: --> Format `style_traits` with: ``` rustfmt components/style_traits/*.rs ``` --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix part of #21373. - [x] These changes do not require tests because they format the components only. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/21620) <!-- Reviewable:end -->
|
|
|
@jdm Thanks for the feedback.I re-arranged and re-pushed as below.
|
| #[cfg(feature = "servo")] | ||
| #[macro_use] | ||
| extern crate serde; | ||
| #[cfg(feature = "servo")] |
This comment has been minimized.
This comment has been minimized.
jdm
Sep 7, 2018
Member
This cfg(feature = "servo") needs to be moved above webrender_api instead of servo_arc.
|
|
|
@jdm fixed again, sorry. |
|
cc @emilio |
|
@bors-servo r+ |
|
|
Format component of style_traits <!-- Please describe your changes on the following line: --> Format `style_traits` with: ``` rustfmt components/style_traits/*.rs ``` --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix part of #21373. - [x] These changes do not require tests because they format the components only. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/21620) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Format component of style_traits <!-- Please describe your changes on the following line: --> Format `style_traits` with: ``` rustfmt components/style_traits/*.rs ``` --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix part of #21373. - [x] These changes do not require tests because they format the components only. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/21620) <!-- Reviewable:end -->
|
|
This cherry-picks servo/servo#21620.
This cherry-picks servo/servo#21620.
This cherry-picks servo/servo#21620. UltraBlame original commit: d88b4c39dfce50e116436441080dcc9b4acf593e
This cherry-picks servo/servo#21620. UltraBlame original commit: d88b4c39dfce50e116436441080dcc9b4acf593e
This cherry-picks servo/servo#21620. UltraBlame original commit: d88b4c39dfce50e116436441080dcc9b4acf593e
chansuke commentedSep 5, 2018
•
edited by jdm
Format
style_traitswith:./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is