We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4300bea commit c5cb2deCopy full SHA for c5cb2de
library/std/src/thread/scoped.rs
@@ -11,7 +11,7 @@ use crate::sync::Arc;
11
/// See [`scope`] for details.
12
pub struct Scope<'env> {
13
data: ScopeData,
14
- env: PhantomData<&'env ()>,
+ env: PhantomData<&'env mut &'env ()>,
15
}
16
17
/// An owned permission to join on a scoped thread (block on its termination).
0 commit comments