Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 10, 2024
1 parent 1bbfa1b commit 0dd1d43
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ impl<'a> PeepholeMinimizeConditions {
}
None
}

fn try_minimize_if_one_child(
if_stmt: &mut IfStatement<'a>,
ctx: &mut TraverseCtx<'a>
ctx: &mut TraverseCtx<'a>,
) -> Option<Statement<'a>> {

}
}

Expand Down Expand Up @@ -161,9 +160,7 @@ mod test {

fold_same("function f(){foo()}");
fold_same("switch(x){case y: foo()}");
fold_same(
"try{foo()}catch(ex){bar()}finally{baz()}",
);
fold_same("try{foo()}catch(ex){bar()}finally{baz()}");
}

/** Try to minimize returns */
Expand Down

0 comments on commit 0dd1d43

Please sign in to comment.