Damien Firmenich 5fafcc2b62
zig fmt: remove trailing whitespace on doc comments
Fixes #11353

The renderer treats comments and doc comments differently since doc
comments are parsed into the Ast. This commit adds a check after getting
the text for the doc comment and trims whitespace at the end before
rendering.

The `a = 0,` in the test is here to avoid a ParseError while parsing the
test.
2022-04-05 18:08:33 +03:00
..
2021-10-22 10:48:45 -07:00
2022-01-28 11:45:04 -07:00
2021-10-26 18:57:58 -04:00
2021-10-22 10:48:45 -07:00
2022-03-06 16:11:39 -07:00
2021-10-05 12:32:26 -07:00
2021-10-05 12:32:26 -07:00
2022-01-28 11:45:04 -07:00
2022-01-28 11:45:04 -07:00
2022-03-14 00:11:46 -07:00
2021-12-06 01:02:09 +13:00
2021-10-24 19:17:55 +02:00