Files
rust/compiler
David Tolnay 8ac05b9766 Fix some double indents on exprs containing blocks
The `print_expr` method already places an `ibox(INDENT_UNIT)` around
every expr that gets printed. Some exprs were then using `self.head`
inside of that, which does its own `cbox(INDENT_UNIT)`, resulting in two
levels of indentation:

    while true {
            stuff;
        }

This commit fixes those cases to produce the expected single level of
indentation within every expression containing a block.

    while true {
        stuff;
    }
2022-01-30 19:45:00 -08:00
..
2022-01-28 16:56:05 +01:00
2021-12-14 18:50:31 -04:00
2022-01-27 07:58:33 +01:00
2022-01-19 13:44:43 -06:00
2022-01-15 01:16:55 +00:00