Skip to content

Commit

Permalink
style: Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Nov 27, 2023
1 parent dd175c7 commit f652823
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions matching/src/unordered_tree_matching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,11 @@ fn compute_matching_score<'a>(left: &'a CSTNode, right: &'a CSTNode) -> usize {
CSTNode::Terminal {
value: value_right, ..
},
) if value_left == value_right => {
1
}
(_, _) => {
0
}
) if value_left == value_right => 1,
(_, _) => 0,
}
}
(_, _) => {
0
}
(_, _) => 0,
}
}
(_, _) => 0,
Expand Down

0 comments on commit f652823

Please sign in to comment.