summaryrefslogtreecommitdiff
path: root/ops/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ops/lib.rs')
-rw-r--r--ops/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/lib.rs b/ops/lib.rs
index d5f24c0d0..bd87bc492 100644
--- a/ops/lib.rs
+++ b/ops/lib.rs
@@ -253,7 +253,7 @@ fn codegen_v8_async(
let rust_i0 = special_args.len();
let args_head = special_args.into_iter().collect::<TokenStream2>();
- let (arg_decls, args_tail, _) = codegen_args(core, f, rust_i0, 1, true);
+ let (arg_decls, args_tail, _) = codegen_args(core, f, rust_i0, 1, asyncness);
let type_params = exclude_lifetime_params(&f.sig.generics.params);
let (pre_result, mut result_fut) = match asyncness {