Skip to content

Commit

Permalink
Update crates/oq3_semantics/src/syntax_to_semantics.rs
Browse files Browse the repository at this point in the history
remove comments that were moved elsewhere
  • Loading branch information
jlapeyre authored May 31, 2024
1 parent 68c6cec commit b5a2f3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/oq3_semantics/src/syntax_to_semantics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,6 @@ fn from_gate_call_expr(
modifiers: Vec<asg::GateModifier>,
context: &mut Context,
) -> Option<asg::Stmt> {
// Warning, I think map overlooks None. This can cause a bug in the present case.
// Because None means a coding error upstream. Better to blow up here.
let gate_operands: Vec<_> = from_qubit_list(gate_call_expr.qubit_list(), context);
let param_list = gate_call_expr
.arg_list()
Expand Down

0 comments on commit b5a2f3e

Please sign in to comment.