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 {