Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Use references to struct fields in derive(Pwrite) implementation so it will work with non-Copy types #17

Merged
merged 1 commit into from
Sep 22, 2018

Conversation

luser
Copy link
Contributor

@luser luser commented Sep 20, 2018

This fixes #15. I had this laying around but I had written the patch atop #16 so I didn't want to submit a PR until that landed because GitHub is lousy at dealing with patches that have dependencies.

This might require explicitly bumping the required version of scroll used for the tests since it depends on m4b/scroll#35 .

@m4b
Copy link
Owner

m4b commented Sep 22, 2018

Yup, you're right, need a new version of scroll, so pushed a new version of scroll 0.9.1 (and added you to authors :P), added a changelog, etc.

@m4b m4b merged commit 53fc1d3 into m4b:master Sep 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

derive(Pwrite) doesn't compile for structs with non-Copy fields
2 participants