crossbeam icon indicating copy to clipboard operation
crossbeam copied to clipboard

skiplist: `insert` requires `Send` but `get_or_insert` does not

Open MingweiSamuel opened this issue 1 year ago • 2 comments

Seems suspicious

MingweiSamuel avatar Aug 20 '24 23:08 MingweiSamuel

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

taiki-e avatar Dec 15 '24 16:12 taiki-e

Oh interesting, would be good to have that documented then

MingweiSamuel avatar Dec 15 '24 16:12 MingweiSamuel