Skip to content

Commit 838e4d8

Browse files
Code review nits
Co-Authored-By: Ralf Jung <[email protected]>
1 parent 461facc commit 838e4d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/thread/scoped.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ impl ScopeData {
7272
// - it can spuriously unpark / wake up, **so `self` can no longer be used**, even
7373
// before we, ourselves, unpark. Hence why we've cloned the `main_thread`'s handle.
7474
// - 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.
75+
// returns, so all of `*self` fields, *including `main_thread`*, must be interiorly
76+
// mutable. See https://github.com/rust-lang/rust/pull/98017 for more info.
7777
main_thread.unpark();
7878
}
7979
}

0 commit comments

Comments
 (0)