From e65f8de52880cae5a3739b695811676f40c22264 Mon Sep 17 00:00:00 2001 From: psteinroe Date: Thu, 12 Oct 2023 22:16:33 +0200 Subject: [PATCH] chore: cleanup --- crates/parser/src/estimate_node_range.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/parser/src/estimate_node_range.rs b/crates/parser/src/estimate_node_range.rs index a55ffb65..524efe96 100644 --- a/crates/parser/src/estimate_node_range.rs +++ b/crates/parser/src/estimate_node_range.rs @@ -82,13 +82,9 @@ pub fn estimate_node_range( let mut ranged_nodes: Vec = Vec::new(); - // we get an estimated range by searching for tokens that match the node property values - // and, if available, the `location` of the node itself nodes.iter().enumerate().for_each(|(idx, n)| { let child_token_range = child_token_ranges[idx]; - println!("node: {:#?}, child_token_range: {:?}", n, child_token_range); - let child_node_ranges = ranged_nodes .iter() .filter(|x| x.inner.path.starts_with(n.path.as_str()))