diff --git a/model/src/cst_node.rs b/model/src/cst_node.rs index 26e63ae..b615fb7 100644 --- a/model/src/cst_node.rs +++ b/model/src/cst_node.rs @@ -62,7 +62,7 @@ impl CSTNode<'_> { } pub fn get_tree_size(&self) -> usize { - return self.get_subtree_size() + 1; + self.get_subtree_size() + 1 } }