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

Implement 'Object' for 'Arc<T: Object>' #139

Merged
merged 1 commit into from Nov 8, 2022

Conversation

SergioBenitez
Copy link
Contributor

@SergioBenitez SergioBenitez commented Nov 8, 2022

As in the title. As a result of this impl, we can implement Object on T and get it for free on Arc. Without this, we need a wrapper type.

@mitsuhiko mitsuhiko merged commit 41ef953 into mitsuhiko:main Nov 8, 2022
@mitsuhiko
Copy link
Owner

I actually wonder if it makes sense to make the internal Arc public at this point. I already needed that internally for the loop context too.

@SergioBenitez
Copy link
Contributor Author

the internal Arc

Do you mean the one in Value via ValueRepr? If so, I think that would be quite useful.

@mitsuhiko
Copy link
Owner

Yap. I changed this in #141 now.

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.

None yet

2 participants