diff options
author | Stjepan Glavina <stjepang@gmail.com> | 2020-09-17 14:59:25 +0200 |
---|---|---|
committer | Stjepan Glavina <stjepang@gmail.com> | 2020-09-17 14:59:25 +0200 |
commit | 95fc6741a7a4d65def2b00c471ffc1c5d165a72f (patch) | |
tree | 7630f0aae10a9bf226a9f8ced1d669c6c699e322 /benches | |
parent | 42e3a6949f13e5582c03c1090d90a51c3ab82fd7 (diff) | |
download | async-task-95fc6741a7a4d65def2b00c471ffc1c5d165a72f.tar.gz |
Fix benches
Diffstat (limited to 'benches')
-rw-r--r-- | benches/spawn.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benches/spawn.rs b/benches/spawn.rs index c8f43d1..e9f93ce 100644 --- a/benches/spawn.rs +++ b/benches/spawn.rs @@ -10,14 +10,14 @@ use test::Bencher; #[bench] fn task_create(b: &mut Bencher) { b.iter(|| { - async_task::spawn(async {}, drop, ()); + async_task::spawn(async {}, drop); }); } #[bench] fn task_run(b: &mut Bencher) { b.iter(|| { - let (task, handle) = async_task::spawn(async {}, drop, ()); + let (task, handle) = async_task::spawn(async {}, drop); task.run(); executor::block_on(handle).unwrap(); }); |