Skip to content

Commit 404e1a6

Browse files
author
Vitali Lovich
committed
Fix typo
1 parent 7d296c4 commit 404e1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/condvar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ impl Condvar {
478478
if !condition(&*guard) {
479479
return Ok((guard, WaitTimeoutResult(false)));
480480
} else if dur == timed_out {
481-
return Ok((guard, WaitTimeoutResult(false)));
481+
return Ok((guard, WaitTimeoutResult(true)));
482482
}
483483
let wait_timer = Instant::now();
484484
let wait_result = self.wait_timeout(guard, dur)?;

0 commit comments

Comments
 (0)