Skip to content

Commit fdd5b20

Browse files
committed
Rustfmt
1 parent c2303a2 commit fdd5b20

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/formatters/expression.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,13 +1075,23 @@ fn hang_binop_expression(
10751075
let lhs = if contains_comments(&*lhs) {
10761076
hang_binop_expression(ctx, *lhs, binop.to_owned(), shape, lhs_range)
10771077
} else {
1078-
format_expression_internal(ctx, &*lhs, ExpressionContext::UnaryOrBinary, shape)
1078+
format_expression_internal(
1079+
ctx,
1080+
&*lhs,
1081+
ExpressionContext::UnaryOrBinary,
1082+
shape,
1083+
)
10791084
};
10801085

10811086
let rhs = if contains_comments(&*rhs) {
10821087
hang_binop_expression(ctx, *rhs, binop, shape, lhs_range)
10831088
} else {
1084-
format_expression_internal(ctx, &*rhs, ExpressionContext::UnaryOrBinary, shape)
1089+
format_expression_internal(
1090+
ctx,
1091+
&*rhs,
1092+
ExpressionContext::UnaryOrBinary,
1093+
shape,
1094+
)
10851095
};
10861096

10871097
(lhs, rhs)

0 commit comments

Comments
 (0)