This commit is contained in:
Folkert 2020-03-31 23:54:14 +02:00
parent 48832ffa84
commit 8e8f93955e
3 changed files with 6 additions and 146 deletions

View file

@ -497,7 +497,7 @@ pub fn is_multiline_expr<'a>(expr: &'a Expr<'a>) -> bool {
|| next_is_multiline_bin_op
}
UnaryOp(loc_subexpr, _) | PrecedenceConflict(_, _, loc_subexpr) => {
UnaryOp(loc_subexpr, _) | PrecedenceConflict(_, _, _, loc_subexpr) => {
is_multiline_expr(&loc_subexpr.value)
}