From 9a8889dc4baf9852d91f007e6fee62081bd3083f Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Tue, 26 Nov 2024 01:43:03 -0800 Subject: [PATCH] Remove call that had no side effect --- src/parse/tree_sitter_parser.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parse/tree_sitter_parser.rs b/src/parse/tree_sitter_parser.rs index fa88c30339..af4bca5cff 100644 --- a/src/parse/tree_sitter_parser.rs +++ b/src/parse/tree_sitter_parser.rs @@ -1372,7 +1372,6 @@ pub(crate) fn print_tree(src: &str, tree: &tree_sitter::Tree) { fn print_cursor(src: &str, cursor: &mut ts::TreeCursor, depth: usize) { loop { let node = cursor.node(); - node.end_position(); let formatted_node = format!( "{} {} - {}",