remove all kind annotations from closures

This commit is contained in:
Jorge Aparicio
2015-02-01 12:44:15 -05:00
parent ba2f13ef06
commit 571cc7f8e9
196 changed files with 396 additions and 390 deletions

View File

@@ -95,14 +95,14 @@ impl<M: Send> Helper<M> {
let receive = RaceBox(receive);
let t = f();
Thread::spawn(move |:| {
Thread::spawn(move || {
helper(receive.0, rx, t);
let _g = self.lock.lock().unwrap();
*self.shutdown.get() = true;
self.cond.notify_one()
});
rt::at_exit(move|:| { self.shutdown() });
rt::at_exit(move|| { self.shutdown() });
*self.initialized.get() = true;
}
}