We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Send
Sync
ExclusiveData
1 parent 62745dd commit ee789cfCopy full SHA for ee789cf
freertos-rust/src/critical.rs
@@ -21,8 +21,8 @@ impl Drop for CriticalRegion {
21
}
22
23
24
-unsafe impl<T: Sync + Send> Send for ExclusiveData<T> {}
25
-unsafe impl<T: Sync + Send> Sync for ExclusiveData<T> {}
+unsafe impl<T: Send> Send for ExclusiveData<T> {}
+unsafe impl<T: Send> Sync for ExclusiveData<T> {}
26
27
/// Data protected with a critical region. Lightweight version of a mutex,
28
/// intended for simple data structures.
0 commit comments