We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f64588 commit 8012163Copy full SHA for 8012163
tests/condvar.rs
@@ -32,7 +32,9 @@ fn wait_timeout_without_lock() {
32
let m = Mutex::new(false);
33
let c = Condvar::new();
34
35
- let (_, wait_result) = c.wait_timeout(m.lock().await, Duration::from_millis(10)).await;
+ let (_, wait_result) = c
36
+ .wait_timeout(m.lock().await, Duration::from_millis(10))
37
+ .await;
38
assert!(wait_result.timed_out());
39
})
40
}
0 commit comments