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

Derive Clone rather than impl it. #92

Merged
merged 1 commit into from Dec 22, 2017
Merged

Conversation

@waywardmonkeys
Copy link
Collaborator

waywardmonkeys commented Dec 22, 2017

This fixes warnings under clippy, but also happily makes it match
how current bindgen generates code, which will reduce some diffs
that will be coming up.


This change is Reviewable

This fixes warnings under clippy, but also happily makes it match
how current bindgen generates code, which will reduce some diffs
that will be coming up.
@emilio
emilio approved these changes Dec 22, 2017
Copy link
Member

emilio left a comment

Yeah, bindgen used to manually do this to handle large arrays, which used to magically-implement copy.

@emilio
Copy link
Member

emilio commented Dec 22, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2017

📌 Commit 3106367 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2017

Testing commit 3106367 with merge 78b5cd7...

bors-servo added a commit that referenced this pull request Dec 22, 2017
Derive Clone rather than impl it.

This fixes warnings under clippy, but also happily makes it match
how current bindgen generates code, which will reduce some diffs
that will be coming up.

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

bors-servo commented Dec 22, 2017

☀️ Test successful - status-travis
Approved by: emilio
Pushing 78b5cd7 to master...

@bors-servo bors-servo merged commit 3106367 into servo:master Dec 22, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@waywardmonkeys waywardmonkeys deleted the waywardmonkeys:derive-clone branch Jan 12, 2018
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.