The implementation of sync for RawOccupiedEntryMut looks like
unsafe impl<K, V, S, A> Sync for RawOccupiedEntryMut<'_, K, V, S, A>
where
K: Sync,
V: Sync,
A: Send + Allocator + Clone,
{
}
Is the requirement that A be Send correct here, or should this be Sync? E.g. the equivalent implementation on OccupiedEntry requires A: Sync + Allocator + Clone.