Fix doc compile error
This commit is contained in:
parent
d549db8031
commit
14b403c91a
@ -469,7 +469,7 @@ impl Condvar {
|
||||
/// let result = cvar.wait_timeout_until(
|
||||
/// lock.lock().unwrap(),
|
||||
/// Duration::from_millis(100),
|
||||
/// |started| started,
|
||||
/// |&mut started| started,
|
||||
/// ).unwrap();
|
||||
/// if result.1.timed_out() {
|
||||
/// // timed-out without the condition ever evaluating to true.
|
||||
|
Loading…
Reference in New Issue
Block a user