Skip to content

[FR] Function similar to std::cell::Ref::map_split? #337

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

Open
yshui opened this issue Mar 24, 2025 · 0 comments · May be fixed by #338
Open

[FR] Function similar to std::cell::Ref::map_split? #337

yshui opened this issue Mar 24, 2025 · 0 comments · May be fixed by #338

Comments

@yshui
Copy link

yshui commented Mar 24, 2025

I found myself needing to get from Ref<(A, B)> to a (Ref<A>, Ref<B>), with things like RefCell there is map_split.

Is similar things possible with dashmap?

yshui pushed a commit to yshui-forks/dashmap that referenced this issue Mar 28, 2025
@yshui yshui linked a pull request Mar 28, 2025 that will close this issue
yshui added a commit to yshui-forks/dashmap that referenced this issue Mar 28, 2025
yshui added a commit to yshui-forks/dashmap that referenced this issue Mar 28, 2025
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 a pull request may close this issue.

1 participant