We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7bbbd commit 249cad9Copy full SHA for 249cad9
rayon-core/src/worker_local.rs
@@ -15,8 +15,8 @@ pub struct WorkerLocal<T> {
15
registry: Arc<Registry>,
16
}
17
18
-unsafe impl<T> Send for WorkerLocal<T> {}
19
-unsafe impl<T> Sync for WorkerLocal<T> {}
+unsafe impl<T: Send> Send for WorkerLocal<T> {}
+unsafe impl<T: Send> Sync for WorkerLocal<T> {}
20
21
impl<T> WorkerLocal<T> {
22
/// Creates a new worker local where the `initial` closure computes the
0 commit comments