File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,8 +377,8 @@ where
377377 _marker : marker:: PhantomData < S > ,
378378}
379379
380- unsafe impl < T , S > Send for Unordered < T , S > where S : Sentinel { }
381- unsafe impl < T , S > Sync for Unordered < T , S > where S : Sentinel { }
380+ unsafe impl < T , S > Send for Unordered < T , S > where S : Send + Sentinel { }
381+ unsafe impl < T , S > Sync for Unordered < T , S > where S : Sync + Sentinel { }
382382
383383impl < T , S > Unpin for Unordered < T , S > where S : Sentinel { }
384384
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ pub struct PinSlab<T> {
4040 next : usize ,
4141}
4242
43- unsafe impl < T > Send for PinSlab < T > { }
44- unsafe impl < T > Sync for PinSlab < T > { }
43+ unsafe impl < T > Send for PinSlab < T > where T : Send { }
44+ unsafe impl < T > Sync for PinSlab < T > where T : Sync { }
4545
4646enum Entry < T > {
4747 // Each slot is pre-allocated with entries of `None`.
You can’t perform that action at this time.
0 commit comments