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

skiplist: insert requires Send but get_or_insert does not #1130

Open
MingweiSamuel opened this issue Aug 20, 2024 · 2 comments
Open

skiplist: insert requires Send but get_or_insert does not #1130

MingweiSamuel opened this issue Aug 20, 2024 · 2 comments

Comments

@MingweiSamuel
Copy link

Seems suspicious

@taiki-e
Copy link
Member

taiki-e commented Dec 15, 2024

IIRC, the Send+static requirement comes from the part that removes the existing value, not from the part that inserts the value.

@MingweiSamuel
Copy link
Author

Oh interesting, would be good to have that documented then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants