Fix doc compile error
This commit is contained in:
parent
d549db8031
commit
14b403c91a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue