Skip to content

Commit

Permalink
Add match and call expressions to Rust rules
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Apr 3, 2024
1 parent ffaa9ec commit 3849329
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codemetrics-rules.el
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@
`((function_item . codemetrics-rules--method-declaration)
(closure_expression . (0 t))
(if_expression . (1 t))
(match_expression . (1 t))
(while_expression . (1 t))
(for_expression . (1 t))
(loop_expression . (1 t))
(call_expression . codemetrics-rules--recursion)
("&&" . codemetrics-rules--logical-operators)
("||" . codemetrics-rules--logical-operators)
(break_expression . codemetrics-rules--rust-outer-loop)
Expand Down

0 comments on commit 3849329

Please sign in to comment.