Skip to content

Commit

Permalink
refactor: remove return keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Jun 15, 2024
1 parent f64fc75 commit 096d2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/src/cst_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl CSTNode<'_> {
}

pub fn get_tree_size(&self) -> usize {
return self.get_subtree_size() + 1;
self.get_subtree_size() + 1
}
}

Expand Down

0 comments on commit 096d2aa

Please sign in to comment.