about summary refs log tree commit diff
path: root/src/test/bench/task-perf-alloc-unwind.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-11-26 08:12:18 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-14 04:21:56 -0500
commit5c3d3989192f88b16f39d554c3844700c91b6c8e (patch)
tree59c77544a06d3f4c2d363b5afe37c91a444e78d6 /src/test/bench/task-perf-alloc-unwind.rs
parent394f6846b80240480f8d7ce4b3d5d4c42ba85201 (diff)
downloadrust-5c3d3989192f88b16f39d554c3844700c91b6c8e.tar.gz
rust-5c3d3989192f88b16f39d554c3844700c91b6c8e.zip
Mostly rote conversion of `proc()` to `move||` (and occasionally `Thunk::new`)
Diffstat (limited to 'src/test/bench/task-perf-alloc-unwind.rs')
-rw-r--r--src/test/bench/task-perf-alloc-unwind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/task-perf-alloc-unwind.rs b/src/test/bench/task-perf-alloc-unwind.rs
index 77078b2c68d..8bcf30b4859 100644
--- a/src/test/bench/task-perf-alloc-unwind.rs
+++ b/src/test/bench/task-perf-alloc-unwind.rs
@@ -36,7 +36,7 @@ fn main() {
 fn run(repeat: int, depth: int) {
     for _ in range(0, repeat) {
         let dur = Duration::span(|| {
-            task::try(proc() {
+            task::try(move|| {
                 recurse_or_panic(depth, None)
             });
         });