Update some code that's feature-gated under core.

This commit is contained in:
Ms2ger 2015-03-21 18:44:39 +01:00
parent 29a36adbe7
commit ba87666cdb
33 changed files with 104 additions and 107 deletions

View file

@ -31,7 +31,7 @@ impl TaskPool {
let state = Arc::new(Mutex::new(rx));
for i in range(0, tasks) {
for i in 0..tasks {
let state = state.clone();
spawn_named(
format!("TaskPoolWorker {}/{}", i+1, tasks),