Skip to content

Commit

Permalink
Remove two obsolete, never-used methods in asg.rs (#113)
Browse files Browse the repository at this point in the history
Removing two methods.
`new_empty_qubit_list` and `new_empty_param_list` were present
to support some idea that was never implemented.
  • Loading branch information
jlapeyre authored Feb 7, 2024
1 parent d1b390f commit b40eec7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/oq3_semantics/src/asg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,14 +524,6 @@ impl GateDeclaration {
}
}

pub fn new_empty_qubit_list() -> Vec<SymbolIdResult> {
Vec::<SymbolIdResult>::new()
}

pub fn new_empty_param_list() -> Vec<SymbolIdResult> {
Vec::<SymbolIdResult>::new()
}

pub fn to_stmt(self) -> Stmt {
Stmt::GateDeclaration(self)
}
Expand Down

0 comments on commit b40eec7

Please sign in to comment.