Skip to content

Commit

Permalink
Merge pull request #12 from croyzor/fix/typo
Browse files Browse the repository at this point in the history
fix: Syntax error
  • Loading branch information
doug-q authored May 31, 2024
2 parents 7609d88 + c3bb2bf commit ef9d69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emit/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(), "")?
Expand Down

0 comments on commit ef9d69c

Please sign in to comment.