cargo fmt

pull/464/head
Wilfred Hughes 2023-01-15 11:43:09 +07:00
parent 0e3c57c64a
commit f3b02f7b47
1 changed files with 4 additions and 2 deletions

@ -141,8 +141,10 @@ pub fn change_positions(lhs_src: &str, rhs_src: &str) -> Vec<MatchedPos> {
let lhs_part = lhs_lines.join("");
let rhs_part = rhs_lines.join("");
for diff_res in myers_diff::slice_unique_by_hash(&split_words(&lhs_part), &split_words(&rhs_part))
{
for diff_res in myers_diff::slice_unique_by_hash(
&split_words(&lhs_part),
&split_words(&rhs_part),
) {
match diff_res {
myers_diff::DiffResult::Left(lhs_word) => {
if *lhs_word != "\n" {