Skip to content

add CopyGetter for some attributes which are copyable#29

Merged
Hoverbear merged 4 commits intojbaublitz:masterfrom
bachue:master
Sep 8, 2019
Merged

add CopyGetter for some attributes which are copyable#29
Hoverbear merged 4 commits intojbaublitz:masterfrom
bachue:master

Conversation

@bachue
Copy link
Contributor

@bachue bachue commented Aug 31, 2019

No description provided.

bachue and others added 2 commits September 2, 2019 10:21
Co-Authored-By: Ana Hobden <operator@hoverbear.org>
@Hoverbear
Copy link
Collaborator

@djc mentioned in a Twitter conversation that if specialization stabilizes we could use that. @djc Do you think you could be a second reviewer on this? Do you think it's worthwhile to consider a deprecation path for this?

Copy link
Collaborator

@Hoverbear Hoverbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a simple alternative #19 and has a fairly easy deprecation path (Just #[deprecate] it!) when we can resolve this with things like specialization.

Other than the enum naming feedback, LGTM. I'd like to give @djc a few days to review if they have time, otherwise we can merge this. :)

Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, took me a little bit to get to this.

Looks good to me, one minor nit!

@Hoverbear
Copy link
Collaborator

Failing CI is because Travis windows is bad at caching, merging.

@Hoverbear Hoverbear merged commit 925910d into jbaublitz:master Sep 8, 2019
@Hoverbear Hoverbear modified the milestone: 0.0.8 Oct 21, 2019
@Hoverbear Hoverbear mentioned this pull request Oct 21, 2019
@Hoverbear Hoverbear added this to the 0.0.9 milestone Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants