Rollup merge of #119838 - joshtriplett:style-guide-binop-indent, r=co… · rust-lang/rust@3628783 (original) (raw)

Original file line number Diff line number Diff line change
@@ -40,6 +40,8 @@ include:
40 40 of a delimited expression, delimited expressions are generally combinable,
41 41 regardless of the number of members. Previously only applied with exactly
42 42 one member (except for closures with explicit blocks).
43 +- When line-breaking a binary operator, if the first operand spans multiple
44 + lines, use the base indentation of the last line.
43 45 - Miscellaneous `rustfmt` bugfixes.
44 46 - Use version-sort (sort `x8`, `x16`, `x32`, `x64`, `x128` in that order).
45 47 - Change "ASCIIbetical" sort to Unicode-aware "non-lowercase before lowercase".