diff options
| author | toddaaro <github@opprobrio.us> | 2013-07-02 11:44:51 -0700 |
|---|---|---|
| committer | toddaaro <github@opprobrio.us> | 2013-07-02 11:44:51 -0700 |
| commit | 060717828074f31902e74e557ade8eeb47e1813a (patch) | |
| tree | f275c94f0bedbc678760359e78efc1449e2ef2bb /src/libstd | |
| parent | 27818ea7c453f6ecc39fb45dc0fef3cd107db4e8 (diff) | |
| download | rust-060717828074f31902e74e557ade8eeb47e1813a.tar.gz rust-060717828074f31902e74e557ade8eeb47e1813a.zip | |
A missing ! made it so that the testcase schedule_home_states was throwing spurious assert failures. Why this did not result in the test case failing previously is beyond me.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index 333eaa53912..b2e4f0d4716 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -212,7 +212,7 @@ impl Task { /// On a special scheduler? pub fn on_special() -> bool { do Local::borrow::<Scheduler,bool> |sched| { - sched.run_anything + !sched.run_anything } } |
