about summary refs log tree commit diff
path: root/src/string.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2018-06-30 19:53:06 +1200
committerNick Cameron <ncameron@mozilla.com>2018-07-12 21:37:28 +1200
commita4cdb68925e4cb3a2df74df61da333136afae582 (patch)
tree477d5c01dc31c038b7cd135fbac6dc52f9c972c9 /src/string.rs
parentb68fd9e6bfd40802afc2a8379824fdcf541c9c1d (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