File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -377,8 +377,8 @@ where
377
377
_marker : marker:: PhantomData < S > ,
378
378
}
379
379
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 { }
382
382
383
383
impl < T , S > Unpin for Unordered < T , S > where S : Sentinel { }
384
384
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ pub struct PinSlab<T> {
40
40
next : usize ,
41
41
}
42
42
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 { }
45
45
46
46
enum Entry < T > {
47
47
// Each slot is pre-allocated with entries of `None`.
You can’t perform that action at this time.
0 commit comments