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-01-24 23:09:45 +01:00
2022-03-30 14:12:14 -04:00
2022-01-28 16:23:47 -07:00
2021-08-24 12:25:09 -07:00
2021-10-04 23:48:55 -07:00
2021-10-04 23:48:55 -07:00
2022-01-28 16:23:47 -07:00
2022-04-05 18:08:33 +03:00
2022-01-28 16:23:47 -07:00
2022-02-01 19:06:40 -07:00
2021-11-20 01:37:17 -08:00
2022-03-27 14:53:40 -07:00
2022-03-30 14:12:14 -04:00
2021-04-20 19:57:27 +02:00
2022-03-30 14:12:14 -04:00
2022-03-30 14:12:14 -04:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-05-08 15:15:30 +03:00
2021-08-24 12:25:09 -07:00
2021-10-04 23:48:55 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2022-03-30 14:12:14 -04:00
2022-04-05 18:08:33 +03:00
2021-11-20 01:37:17 -08:00
2021-11-20 01:37:17 -08:00
2021-11-20 01:37:17 -08:00
2021-11-20 01:37:17 -08:00
2021-08-24 12:25:09 -07:00
2021-12-19 00:24:45 -05:00
2022-03-30 14:12:14 -04:00