From cf1330bb21bec45eec42e7f95434135d5982a98f Mon Sep 17 00:00:00 2001 From: nat Date: Fri, 13 Dec 2024 11:04:43 -0800 Subject: [PATCH] chore: remove unused derelativize_span_coordinates --- src/state.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/state.rs b/src/state.rs index a5ce2ba..5f39a8c 100644 --- a/src/state.rs +++ b/src/state.rs @@ -107,10 +107,6 @@ pub struct Tree { pub buffer: BTreeMap<(u16, u16), u16>, } -fn derelativize_span_coordinates(x: i16, y: i16) -> (usize, usize) { - return ((x + 4) as usize, (y + 4) as usize); -} - impl Tree { fn assert_capacity_constraint(&self) { if self.root.len() + self.trunk.len() > self.stack_size {