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

clippy run and test for Rect::translate_by_size #142

Merged
merged 1 commit into from Jun 19, 2016

Conversation

@leoyvens
Copy link
Contributor

leoyvens commented Jun 19, 2016

Mostly remove calling .clone() on Copy types. Refactored Rect::translate_by_size to use Rect::translate. Add test for Rect::translate_by_size. I think it would be best to have Point2D implement From<Size2D> and have only one generic Rect::translate, deprecating Rect::translate_by_size.


This change is Reviewable

@mbrubeck
Copy link
Contributor

mbrubeck commented Jun 19, 2016

@bors-servo r+

Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Jun 19, 2016

📌 Commit 8922b61 has been approved by mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Jun 19, 2016

Testing commit 8922b61 with merge a9e0fd4...

bors-servo added a commit that referenced this pull request Jun 19, 2016
clippy run and test for Rect::translate_by_size

Mostly remove calling `.clone()` on `Copy` types. Refactored `Rect::translate_by_size` to use `Rect::translate`. Add test for `Rect::translate_by_size`. I think it would be best to have `Point2D` implement `From<Size2D>` and have only one generic `Rect::translate`, deprecating `Rect::translate_by_size`.

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

bors-servo commented Jun 19, 2016

☀️ Test successful - travis

@bors-servo bors-servo merged commit 8922b61 into servo:master Jun 19, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI 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.