@@ -2341,6 +2341,11 @@ pub struct OccupiedEntry<'a, K: 'a, V: 'a> {
23412341 elem : FullBucket < K , V , & ' a mut RawTable < K , V > > ,
23422342}
23432343
2344+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
2345+ unsafe impl < ' a , K : ' a + Send , V : ' a + Send > Send for OccupiedEntry < ' a , K , V > { }
2346+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
2347+ unsafe impl < ' a , K : ' a + Sync , V : ' a + Sync > Sync for OccupiedEntry < ' a , K , V > { }
2348+
23442349#[ stable( feature= "debug_hash_map" , since = "1.12.0" ) ]
23452350impl < K : Debug , V : Debug > Debug for OccupiedEntry < ' _ , K , V > {
23462351 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -2362,6 +2367,11 @@ pub struct VacantEntry<'a, K: 'a, V: 'a> {
23622367 elem : VacantEntryState < K , V , & ' a mut RawTable < K , V > > ,
23632368}
23642369
2370+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
2371+ unsafe impl < ' a , K : ' a + Send , V : ' a + Send > Send for VacantEntry < ' a , K , V > { }
2372+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
2373+ unsafe impl < ' a , K : ' a + Sync , V : ' a + Sync > Sync for VacantEntry < ' a , K , V > { }
2374+
23652375#[ stable( feature= "debug_hash_map" , since = "1.12.0" ) ]
23662376impl < K : Debug , V > Debug for VacantEntry < ' _ , K , V > {
23672377 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
0 commit comments