Skip to content

Commit 169569c

Browse files
authored
tweak variable name
1 parent 6a29a68 commit 169569c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pass/concurrency/sync_nopreempt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn check_conditional_variables_notify_all() {
1616
let (lock, cvar) = &*pair2;
1717
let guard = lock.lock().unwrap();
1818
// Block waiting on the conditional variable.
19-
let _x = cvar.wait(guard).unwrap();
19+
let _guard = cvar.wait(guard).unwrap();
2020
})
2121
})
2222
.inspect(|_| {

0 commit comments

Comments
 (0)