chore: remove unused derelativize_span_coordinates
This commit is contained in:
parent
621166e8c6
commit
cf1330bb21
|
@ -107,10 +107,6 @@ pub struct Tree {
|
||||||
pub buffer: BTreeMap<(u16, u16), u16>,
|
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 {
|
impl Tree {
|
||||||
fn assert_capacity_constraint(&self) {
|
fn assert_capacity_constraint(&self) {
|
||||||
if self.root.len() + self.trunk.len() > self.stack_size {
|
if self.root.len() + self.trunk.len() > self.stack_size {
|
||||||
|
|
Loading…
Reference in New Issue