diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-02-01 12:44:15 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-02-04 20:06:08 -0500 |
| commit | 571cc7f8e98da46735a5728387c768cde75d010c (patch) | |
| tree | 2260e6f54186e1876a093bc670535116233ef524 /src/libstd/sync/task_pool.rs | |
| parent | ba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff) | |
| download | rust-571cc7f8e98da46735a5728387c768cde75d010c.tar.gz rust-571cc7f8e98da46735a5728387c768cde75d010c.zip | |
remove all kind annotations from closures
Diffstat (limited to 'src/libstd/sync/task_pool.rs')
| -rw-r--r-- | src/libstd/sync/task_pool.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/task_pool.rs b/src/libstd/sync/task_pool.rs index 1bfcbcf96f1..684a46fd6ff 100644 --- a/src/libstd/sync/task_pool.rs +++ b/src/libstd/sync/task_pool.rs @@ -112,7 +112,7 @@ impl TaskPool { } fn spawn_in_pool(jobs: Arc<Mutex<Receiver<Thunk>>>) { - Thread::spawn(move |:| { + Thread::spawn(move || { // Will spawn a new thread on panic unless it is cancelled. let sentinel = Sentinel::new(&jobs); |
