Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 2 additions & 34 deletions src/linked_hash_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -973,22 +973,6 @@ where
}
}

unsafe impl<K, V, S> Send for RawEntryBuilder<'_, K, V, S>
where
K: Send,
V: Send,
S: Send,
{
}

unsafe impl<K, V, S> Sync for RawEntryBuilder<'_, K, V, S>
where
K: Sync,
V: Sync,
S: Sync,
{
}

pub struct RawEntryBuilderMut<'a, K, V, S> {
map: &'a mut LinkedHashMap<K, V, S>,
}
Expand Down Expand Up @@ -1044,22 +1028,6 @@ where
}
}

unsafe impl<K, V, S> Send for RawEntryBuilderMut<'_, K, V, S>
where
K: Send,
V: Send,
S: Send,
{
}

unsafe impl<K, V, S> Sync for RawEntryBuilderMut<'_, K, V, S>
where
K: Sync,
V: Sync,
S: Sync,
{
}

pub enum RawEntryMut<'a, K, V, S> {
Occupied(RawOccupiedEntryMut<'a, K, V, S>),
Vacant(RawVacantEntryMut<'a, K, V, S>),
Expand Down Expand Up @@ -1447,8 +1415,8 @@ impl<K, V> Drain<'_, K, V> {

unsafe impl<K, V> Send for Iter<'_, K, V>
where
K: Send,
V: Send,
K: Sync,
V: Sync,
{
}

Expand Down