Skip to content

Commit 5c8652c

Browse files
shamb0RalfJung
andauthored
Update src/concurrency/thread.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 7b6d644 commit 5c8652c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/concurrency/thread.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,7 @@ impl<'tcx> ThreadManager<'tcx> {
647647
@capture<'tcx> {
648648
joined_thread_id: ThreadId,
649649
}
650-
@unblock = |this, tcb_state| {
651-
match tcb_state {
650+
@unblock = |this, unblock| {
652651
MachineCallbackState::Ready => {
653652
if let Some(data_race) = &mut this.machine.data_race {
654653
data_race.thread_joined(&this.machine.threads, joined_thread_id);

0 commit comments

Comments
 (0)