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
..
2022-03-15 13:49:41 -04:00
2022-03-08 20:38:12 +02:00
2022-03-08 20:38:12 +02:00
2022-03-23 16:31:03 -04:00
2022-03-08 20:38:12 +02:00
2022-01-07 00:06:06 -05:00
2022-03-27 11:28:44 +03:00
2022-01-30 21:27:52 +02:00
2022-01-07 00:06:06 -05:00