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 bfc072f commit 228dbf7Copy full SHA for 228dbf7
rayon-core/src/job.rs
@@ -64,7 +64,7 @@ impl JobRef {
64
/// executes it need not free any heap data, the cleanup occurs when
65
/// the stack frame is later popped. The function parameter indicates
66
/// `true` if the job was stolen -- executed on a different thread.
67
-pub(super) struct StackJob<'a, L, F, R>
+pub(super) struct StackJob<'a, L: 'a, F, R>
68
where
69
L: Latch + Sync,
70
F: FnOnce(bool) -> R + Send,
0 commit comments