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-04-05 18:08:33 +03:00
2021-08-24 12:25:09 -07:00
2021-12-06 01:02:09 +13:00
2021-12-06 01:02:09 +13:00
2021-12-06 01:02:09 +13:00
2021-12-06 01:02:09 +13: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
2021-10-15 13:55:40 -04: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-02-06 21:39:34 -05:00
2021-08-24 12:25:09 -07:00
2021-10-22 10:48:45 -07:00
2022-03-27 11:54:43 +03:00
2021-08-24 12:25:09 -07:00
2021-12-06 01:17:01 +13:00
2021-08-24 12:25:09 -07:00
2022-01-28 11:45:04 -07:00
2021-10-26 18:57:58 -04:00
2021-11-15 19:40:03 -05:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2022-02-17 21:20:04 -05: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-08-24 12:25:09 -07:00
2021-10-05 12:32:26 -07:00
2022-01-28 11:45:04 -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-01-29 18:11:49 +02:00
2021-11-23 14:47:01 -05:00
2021-11-24 14:47:33 -07:00
2021-08-24 12:25:09 -07:00
2021-11-24 14:47:33 -07:00
2021-11-24 14:47:33 -07:00
2021-11-24 14:47:33 -07:00
2021-08-24 12:25:09 -07:00
2022-01-28 11:45:04 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2022-03-14 00:11:46 -07:00
2021-11-23 14:47:01 -05:00
2021-08-24 12:25:09 -07:00
2021-12-06 01:02:09 +13:00
2021-08-24 12:25:09 -07:00
2021-11-24 14:47:33 -07:00
2021-12-06 01:17:01 +13:00
2021-08-24 12:25:09 -07:00
2021-10-24 19:17:55 +02:00