fixed formatting error for when formatting

This commit is contained in:
Chad Stearns 2020-04-21 23:38:04 -04:00
parent ac85f86b9e
commit c3d296a026
2 changed files with 42 additions and 1 deletions

View file

@ -560,7 +560,9 @@ fn fmt_when<'a>(
}
}
_ => {
newline(buf, condition_indent);
fmt_expr(buf, &loc_condition.value, condition_indent, false, false);
newline(buf, indent);
}
}
} else {