We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a29a68 commit 169569cCopy full SHA for 169569c
tests/pass/concurrency/sync_nopreempt.rs
@@ -16,7 +16,7 @@ fn check_conditional_variables_notify_all() {
16
let (lock, cvar) = &*pair2;
17
let guard = lock.lock().unwrap();
18
// Block waiting on the conditional variable.
19
- let _x = cvar.wait(guard).unwrap();
+ let _guard = cvar.wait(guard).unwrap();
20
})
21
22
.inspect(|_| {
0 commit comments