diff options
| author | Vitali Lovich <vlovich@google.com> | 2018-02-02 11:52:16 -0800 |
|---|---|---|
| committer | Vitali Lovich <vlovich@google.com> | 2018-02-02 11:52:16 -0800 |
| commit | 404e1a67007a254ab35e4fe8a8650e9335590a76 (patch) | |
| tree | 7d8e6a21ff7456fd8281faea7288d9a0dfa604d9 /src/libstd/sync | |
| parent | 7d296c4843785f64a4246213375b21c1ab1e7462 (diff) | |
| download | rust-404e1a67007a254ab35e4fe8a8650e9335590a76.tar.gz rust-404e1a67007a254ab35e4fe8a8650e9335590a76.zip | |
Fix typo
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/condvar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/condvar.rs b/src/libstd/sync/condvar.rs index 1e5beaaa342..c58f8fd2990 100644 --- a/src/libstd/sync/condvar.rs +++ b/src/libstd/sync/condvar.rs @@ -478,7 +478,7 @@ impl Condvar { if !condition(&*guard) { return Ok((guard, WaitTimeoutResult(false))); } else if dur == timed_out { - return Ok((guard, WaitTimeoutResult(false))); + return Ok((guard, WaitTimeoutResult(true))); } let wait_timer = Instant::now(); let wait_result = self.wait_timeout(guard, dur)?; |
