From 096d2aa13076c914aa6de3fd43c2c5d39816788d Mon Sep 17 00:00:00 2001 From: Joao Duarte Date: Sat, 15 Jun 2024 16:39:08 -0300 Subject: [PATCH] refactor: remove return keyword --- model/src/cst_node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }