diff options
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(); }); |