diff options
| author | Steven Fackler <sfackler@gmail.com> | 2015-08-13 21:58:20 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2015-08-19 17:00:15 -0700 |
| commit | 42a386fcf89a40e6c3a8806ccf381514c2a77c10 (patch) | |
| tree | e77742b5cb6447176ebb66c91fdb4981c0cc6336 /src/rustllvm/RustWrapper.cpp | |
| parent | aca2057ed5fb7af3f8905b2bc01f72fa001c35c8 (diff) | |
| download | rust-42a386fcf89a40e6c3a8806ccf381514c2a77c10.tar.gz rust-42a386fcf89a40e6c3a8806ccf381514c2a77c10.zip | |
Make Condvar::wait_timeout return an enum instead of a bool
Returning a primitive bool results in a somewhat confusing API - does `true` indicate success - i.e. no timeout, or that a timeout has occurred? An explicitly named enum makes it clearer. [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
