tweak variable name

This commit is contained in:
Ralf Jung 2022-09-02 16:10:24 +02:00 committed by GitHub
parent 6a29a6842a
commit 169569cccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ fn check_conditional_variables_notify_all() {
let (lock, cvar) = &*pair2;
let guard = lock.lock().unwrap();
// Block waiting on the conditional variable.
let _x = cvar.wait(guard).unwrap();
let _guard = cvar.wait(guard).unwrap();
})
})
.inspect(|_| {