Files
rust/tests/target
Ivan Komarov 00a20bceff Fix formatting failures on Windows
When newline_style is set to Windows, an empty line inside of a macro
results in `\r` being passed to the `fold()` in `MacroBranch::rewrite()`.

`\r` is technically not an empty string, so we try to indent it, leaving
trailing whitespaces behind, even though that was not intended
(as far as I can see).

This commit replaces the `!l.is_empty()` check with calling
`is_empty_line()`, since trying to indent any whitespace-only string
will probably result in problematic trailing whitespaces.

Fixes: #2810
2018-10-28 02:37:55 +03:00
..
2018-08-31 18:20:28 +09:00
2018-10-15 12:09:53 +13:00
2018-09-19 23:19:24 +09:00
2018-09-30 23:28:03 +09:00
2018-09-19 23:19:24 +09:00
2018-09-19 23:19:24 +09:00
2018-08-30 23:38:40 +09:00
2018-10-19 12:28:00 +02:00
2018-08-24 14:39:05 +09:00
2018-09-19 23:19:24 +09:00
2018-09-11 08:54:43 +03:00
2018-09-19 23:19:24 +09:00
2018-08-31 16:25:01 +03:00
2018-08-31 15:25:08 +03:00
2018-10-06 16:32:27 +03:00
2018-10-06 10:59:47 +03:00
2018-09-11 13:30:36 +09:00
2018-10-08 13:50:00 +09:00
2018-10-19 12:28:00 +02:00
2018-09-19 23:19:24 +09:00
2018-08-26 13:19:44 +09:00
2018-08-12 23:55:34 +09:00
2018-10-14 21:47:50 +09:00
2018-10-26 16:36:01 +09:00