Closed
Description
Currently, the HashMap
entry types are never Send
or Sync
. It seems to me that the Entry
types should be Send
whenever their key/value types are Send
and Sync
whenever their key/value types are Sync
. Properly implementing Send
/Sync
for OccupiedEntry
and VacantEntry
will solve the problem for Entry
as well. Is there any known reason why Entry
and friends should not be Send
or Sync
?