Closed as not planned
Description
There are a few places where an Iter
implements Send
when the item/key/value traits are Sync
. The other related types (IterMut
, etc...) implement Sync
for Sync
items and Send
for Send
items.
See line 1209 in
rust/src/liballoc/collections/linked_list.rs
Lines 1202 to 1218 in 917945d
and also in
Lines 2650 to 2653 in 917945d
as well as
rust/src/libstd/collections/hash/table.rs
Lines 916 to 917 in 917945d
( Noticed this pattern in hyperium/http#239 )