From 4cec6f0765a24ebc368e63972ddcde110e546bfe Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Fri, 7 Apr 2023 00:27:28 -0700 Subject: [PATCH] Squash minor warning in vm/mod.rs Inst::Comment is no longer printing, so we don't need the "comment" variable to be usable. Signed-off-by: Alek Ratzloff --- src/vm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/mod.rs b/src/vm/mod.rs index c8393b0..bd16af8 100644 --- a/src/vm/mod.rs +++ b/src/vm/mod.rs @@ -236,7 +236,7 @@ impl Vm { ); self.set_condition(top.is_truthy()); } - Inst::Comment(comment) => { + Inst::Comment(_comment) => { /* no-op */ //println!("COMMENT: {comment}"); }