From b40eec720cdf84a52b56579e302e3f5f2713c4fd Mon Sep 17 00:00:00 2001 From: John Lapeyre Date: Wed, 7 Feb 2024 16:07:33 -0500 Subject: [PATCH] Remove two obsolete, never-used methods in asg.rs (#113) Removing two methods. `new_empty_qubit_list` and `new_empty_param_list` were present to support some idea that was never implemented. --- crates/oq3_semantics/src/asg.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/oq3_semantics/src/asg.rs b/crates/oq3_semantics/src/asg.rs index f3cbc02..a024144 100644 --- a/crates/oq3_semantics/src/asg.rs +++ b/crates/oq3_semantics/src/asg.rs @@ -524,14 +524,6 @@ impl GateDeclaration { } } - pub fn new_empty_qubit_list() -> Vec { - Vec::::new() - } - - pub fn new_empty_param_list() -> Vec { - Vec::::new() - } - pub fn to_stmt(self) -> Stmt { Stmt::GateDeclaration(self) }