mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 00:57:04 +00:00
5fafcc2b62
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. |
||
---|---|---|
.. | ||
deflate | ||
deflate.zig | ||
gzip.zig | ||
rfc1951.txt | ||
rfc1951.txt.fixed.z.9 | ||
rfc1951.txt.z.0 | ||
rfc1951.txt.z.9 | ||
rfc1952.txt | ||
rfc1952.txt.gz | ||
zlib.zig |