We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 461facc commit 838e4d8Copy full SHA for 838e4d8
library/std/src/thread/scoped.rs
@@ -72,8 +72,8 @@ impl ScopeData {
72
// - it can spuriously unpark / wake up, **so `self` can no longer be used**, even
73
// before we, ourselves, unpark. Hence why we've cloned the `main_thread`'s handle.
74
// - no matter how it unparks, `*self` may be deallocated before this function
75
- // returns, so all of `*self` data, **including `main_thread`**, must be interiorly
76
- // mutable. See https://github.com/rust-lang/rust/issues/55005 for more info.
+ // returns, so all of `*self` fields, *including `main_thread`*, must be interiorly
+ // mutable. See https://github.com/rust-lang/rust/pull/98017 for more info.
77
main_thread.unpark();
78
}
79
0 commit comments