servo / euclid

Geometry primitives (basic linear algebra) for Rust
Other
463 stars 102 forks source link

Implement Default trait for Rect and SideOffsets #343

Closed djg closed 5 years ago

djg commented 5 years ago

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

nical commented 5 years ago

@bors-servo r+

bors-servo commented 5 years ago

:pushpin: Commit 54a6e2f has been approved by nical

bors-servo commented 5 years ago

:hourglass: Testing commit 54a6e2fba6f337820edc4bd49be40cf10c9b1474 with merge 81719af918766a530d2cf0a7955f1a3516c8da87...

bors-servo commented 5 years ago

:sunny: Test successful - checks-travis Approved by: nical Pushing 81719af918766a530d2cf0a7955f1a3516c8da87 to master...