Skip to content

Commit

Permalink
A missing ! made it so that the testcase schedule_home_states was thr…
Browse files Browse the repository at this point in the history
…owing spurious assert failures. Why this did not result in the test case failing previously is beyond me.
  • Loading branch information
toddaaro committed Jul 2, 2013
1 parent 27818ea commit 0607178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/rt/task.rs
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 0607178

Please sign in to comment.