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

Implement Default trait for Rect and SideOffsets #343

Merged
merged 2 commits into from Jun 10, 2019
Merged

Conversation

@djg
Copy link
Contributor

djg commented Jun 10, 2019

I'm working on WR display list serialization changes and @gankro asked me implement Default trait for WR DisplayItems. I noticed that of the types that WR uses, implementations of Default are missing for these two.


This change is Reviewable

djg added 2 commits Jun 10, 2019
Point and Size already implement Default, so defer to those implementations.
@djg djg changed the title Implement Implement Default trait for Rect and SideOffsets Jun 10, 2019
@nical
Copy link
Collaborator

nical commented Jun 10, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2019

📌 Commit 54a6e2f has been approved by nical

bors-servo added a commit that referenced this pull request Jun 10, 2019
Implement Default trait for Rect and SideOffsets

I'm working on WR display list serialization changes and @gankro asked me implement `Default` trait for WR `DisplayItem`s.  I noticed that of the types that WR uses, implementations of `Default` are missing for these two.

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

bors-servo commented Jun 10, 2019

Testing commit 54a6e2f with merge 81719af...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2019

☀️ Test successful - checks-travis
Approved by: nical
Pushing 81719af to master...

@bors-servo bors-servo merged commit 54a6e2f into servo:master Jun 10, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
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

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