From c3bb2bf45fa29d9fc3fa409cbb83d7017fe243f1 Mon Sep 17 00:00:00 2001 From: Craig Roy Date: Fri, 31 May 2024 09:31:13 +0100 Subject: [PATCH] fix: Syntax error --- src/emit/ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emit/ops.rs b/src/emit/ops.rs index e7ce208..ea51b7d 100644 --- a/src/emit/ops.rs +++ b/src/emit/ops.rs @@ -349,7 +349,7 @@ fn emit_call<'c, H: HugrView>( OpType::FuncDefn(_) => context.get_func_defn(func_node.try_into_ot().unwrap()), _ => Err(anyhow!("emit_call: Not a Decl or Defn")), }; - let inputs: args.inputs.into_iter().map_into().collect_vec(); + let inputs = args.inputs.into_iter().map_into().collect_vec(); let builder = context.builder(); let call = builder .build_call(func?, inputs.as_slice(), "")?