From 79e9df852cf47e4d8a0519f5cf64fdaae324de84 Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Tue, 26 Sep 2023 16:50:29 -0500 Subject: [PATCH] :recycle: refactor: remove unused fn --- src/state.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/state.rs b/src/state.rs index 1911eec..3db4ac5 100644 --- a/src/state.rs +++ b/src/state.rs @@ -86,11 +86,6 @@ impl State { &self.registers [frame.register_offset..] } - fn register_window_mut (&mut self) -> &mut [Value] { - let frame = self.stack.last ().unwrap (); - &mut self.registers [frame.register_offset..] - } - /// Short form to get access to a register within our window fn reg (&self, i: u8) -> &Value {