We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5dd827 commit a24c212Copy full SHA for a24c212
1 file changed
src/lib.rs
@@ -200,7 +200,12 @@ pub struct RangeBound<S: BoundSided, T> {
200
pub value: T,
201
/// The type of the bound.
202
pub type_: BoundType,
203
- _m: PhantomData<*mut S>,
+ _m: PhantomData<S>,
204
+}
205
+
206
+fn _is_send_sync() {
207
+ fn is_send_sync<T: Send + Sync>() {}
208
+ is_send_sync::<RangeBound<LowerBound, i32>>();
209
}
210
211
impl<S, T> Copy for RangeBound<S, T> where S: BoundSided, T: Copy {}
0 commit comments