diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2018-06-30 19:53:06 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2018-07-12 21:37:28 +1200 |
| commit | a4cdb68925e4cb3a2df74df61da333136afae582 (patch) | |
| tree | 477d5c01dc31c038b7cd135fbac6dc52f9c972c9 /src/string.rs | |
| parent | b68fd9e6bfd40802afc2a8379824fdcf541c9c1d (diff) | |
Improve formatting of series of binop expressions
This commit changes the handling of binops (and potentially other pairs), where the expressions are logically a list, e.g., `a + b + c`. It makes the single line vs multi-line approaches explicit and introduces a lowering step. This improves formatting in a number of places, mostly improving consistency of formatting with very short sub-expressions, but also some weird indentation. Closes #2802
Diffstat (limited to 'src/string.rs')
0 files changed, 0 insertions, 0 deletions
