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 AsRef and Borrow for Arc #325

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Conversation

notgull
Copy link
Contributor

@notgull notgull commented Aug 8, 2023

These traits are necessary to use the Arc in places that expect AsRef and Borrow.

These traits are necessary to use the Arc in places that expect AsRef
and Borrow.

Signed-off-by: John Nunley <[email protected]>
src/sync/arc.rs Outdated Show resolved Hide resolved
src/sync/arc.rs Outdated Show resolved Hide resolved
Signed-off-by: John Nunley <[email protected]>
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks!

@taiki-e taiki-e merged commit 6838e8e into tokio-rs:master Aug 9, 2023
5 checks passed
@notgull notgull deleted the asref branch August 9, 2023 03:21
@taiki-e taiki-e mentioned this pull request Aug 9, 2023
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