tweak variable name
This commit is contained in:
parent
6a29a6842a
commit
169569cccb
@ -16,7 +16,7 @@ fn check_conditional_variables_notify_all() {
|
|||||||
let (lock, cvar) = &*pair2;
|
let (lock, cvar) = &*pair2;
|
||||||
let guard = lock.lock().unwrap();
|
let guard = lock.lock().unwrap();
|
||||||
// Block waiting on the conditional variable.
|
// Block waiting on the conditional variable.
|
||||||
let _x = cvar.wait(guard).unwrap();
|
let _guard = cvar.wait(guard).unwrap();
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.inspect(|_| {
|
.inspect(|_| {
|
||||||
|
Loading…
Reference in New Issue
Block a user